aboutsummaryrefslogtreecommitdiff
path: root/actions/widgets/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/widgets/add.php')
-rw-r--r--actions/widgets/add.php2
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']);