diff options
-rw-r--r-- | actions/widgets/add.php | 2 | ||||
-rw-r--r-- | actions/widgets/reorder.php | 2 |
2 files changed, 2 insertions, 2 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']);
diff --git a/actions/widgets/reorder.php b/actions/widgets/reorder.php index ff0fa4b52..5d613fe0a 100644 --- a/actions/widgets/reorder.php +++ b/actions/widgets/reorder.php @@ -24,7 +24,7 @@ if ($result) {
system_message(elgg_echo('widgets:panel:save:success'));
} else {
- system_message(elgg_echo('widgets:panel:save:failure'));
+ register_error(elgg_echo('widgets:panel:save:failure'));
}
forward($_SERVER['HTTP_REFERER']);
|