diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-16 13:17:29 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-16 13:17:29 +0000 |
commit | 4bf078505fa18f7a337ea63a689b773a76dd0ebc (patch) | |
tree | 609729396be3b7b96b5ed26ab103fe552214204a /actions/widgets/add.php | |
parent | 35d44c0eb3fc509eefbbb42ec72ccb82e9a4acd7 (diff) | |
download | elgg-4bf078505fa18f7a337ea63a689b773a76dd0ebc.tar.gz elgg-4bf078505fa18f7a337ea63a689b773a76dd0ebc.tar.bz2 |
Widget save errors now use correct message box
git-svn-id: https://code.elgg.org/elgg/trunk@2575 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/widgets/add.php')
-rw-r--r-- | actions/widgets/add.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/widgets/add.php b/actions/widgets/add.php index 07e167a96..ffb65d7da 100644 --- a/actions/widgets/add.php +++ b/actions/widgets/add.php @@ -35,7 +35,7 @@ if ($result) {
system_message(elgg_echo('widgets:save:success'));
} else {
- system_message(elgg_echo('widgets:save:failure'));
+ register_error(elgg_echo('widgets:save:failure'));
}
forward($_SERVER['HTTP_REFERER']);
|