aboutsummaryrefslogtreecommitdiff
path: root/actions/comments/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/comments/delete.php')
-rw-r--r--actions/comments/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/comments/delete.php b/actions/comments/delete.php
index 26875942c..4b5af9e18 100644
--- a/actions/comments/delete.php
+++ b/actions/comments/delete.php
@@ -29,7 +29,7 @@
$url = "";
}
- system_message(elgg_echo("generic_comment:notdeleted"));
+ register_error(elgg_echo("generic_comment:notdeleted"));
forward($entity->getURL());
?> \ No newline at end of file