diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-11 10:54:58 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-11 10:54:58 +0000 |
commit | cdd5fa899d747c20cc4de20d713d247946940739 (patch) | |
tree | 887c120fa38eae4e53de641e617a4efe3e28955c /actions/plugins/usersettings/save.php | |
parent | d90f192e7e138268091ab1f2e7f51ad6e99a7eea (diff) | |
download | elgg-cdd5fa899d747c20cc4de20d713d247946940739.tar.gz elgg-cdd5fa899d747c20cc4de20d713d247946940739.tar.bz2 |
Using register_error on errors rather than system_message.
Also, fixed widget save to handle arrays (Refs #135)
git-svn-id: https://code.elgg.org/elgg/trunk@1400 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/plugins/usersettings/save.php')
-rw-r--r-- | actions/plugins/usersettings/save.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php index aba759ea2..f8721f2e2 100644 --- a/actions/plugins/usersettings/save.php +++ b/actions/plugins/usersettings/save.php @@ -25,7 +25,7 @@ // Error? if (!$result) { - system_message(sprintf(elgg_echo('plugins:usersettings:save:fail'), $plugin)); + register_error(sprintf(elgg_echo('plugins:usersettings:save:fail'), $plugin)); forward($_SERVER['HTTP_REFERER']); |