aboutsummaryrefslogtreecommitdiff
path: root/actions/entities
diff options
context:
space:
mode:
Diffstat (limited to 'actions/entities')
-rw-r--r--actions/entities/delete.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/entities/delete.php b/actions/entities/delete.php
index 3ec88bd04..823e85c59 100644
--- a/actions/entities/delete.php
+++ b/actions/entities/delete.php
@@ -13,12 +13,12 @@ $entity = get_entity($guid);
if (($entity) && ($entity->canEdit())) {
if ($entity->delete()) {
- system_message(sprintf(elgg_echo('entity:delete:success'), $guid));
+ system_message(elgg_echo('entity:delete:success', array($guid)));
} else {
- register_error(sprintf(elgg_echo('entity:delete:fail'), $guid));
+ register_error(elgg_echo('entity:delete:fail', array($guid)));
}
} else {
- register_error(sprintf(elgg_echo('entity:delete:fail'), $guid));
+ register_error(elgg_echo('entity:delete:fail', array($guid)));
}
forward(REFERER);