aboutsummaryrefslogtreecommitdiff
path: root/actions/likes
diff options
context:
space:
mode:
Diffstat (limited to 'actions/likes')
-rw-r--r--actions/likes/add.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/actions/likes/add.php b/actions/likes/add.php
index 211cb340b..b8c2f18b8 100644
--- a/actions/likes/add.php
+++ b/actions/likes/add.php
@@ -41,15 +41,14 @@ if ($entity->owner_guid != $user->guid) {
notify_user($entity->owner_guid,
$user->guid,
elgg_echo('likes:email:subject'),
- sprintf(
- elgg_echo('likes:email:body'),
+ elgg_echo('likes:email:body', array(
$user->name,
$entity->title,
//$comment_text,
$entity->getURL(),
$user->name,
$user->getURL()
- )
+ ))
);
}