aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/annotation/page.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 22:13:10 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 22:13:10 +0000
commiteff4faea7f3c95440f02ea45d0be4f67236e2bf3 (patch)
tree57d51ef4bc84547d60c9a6faae7d5ff5d82d00f9 /mod/pages/views/default/annotation/page.php
parent4b501dda1d62195531e4c2ab1bd84971c0cd4e37 (diff)
downloadelgg-eff4faea7f3c95440f02ea45d0be4f67236e2bf3.tar.gz
elgg-eff4faea7f3c95440f02ea45d0be4f67236e2bf3.tar.bz2
Fixes #1320: Bundled mods use elgg_echo()'s internal string substitution.
git-svn-id: http://code.elgg.org/elgg/trunk@7229 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/views/default/annotation/page.php')
-rw-r--r--mod/pages/views/default/annotation/page.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/pages/views/default/annotation/page.php b/mod/pages/views/default/annotation/page.php
index cc0f67746..53f38831f 100644
--- a/mod/pages/views/default/annotation/page.php
+++ b/mod/pages/views/default/annotation/page.php
@@ -18,8 +18,8 @@ $icon = elgg_view(
$owner_guid = $annotation->owner_guid;
$owner = get_entity($owner_guid);
-$rev = sprintf(elgg_echo('pages:revision'),
- elgg_view_friendly_time($annotation->time_created),
+$rev = elgg_echo('pages:revision',
+ array(elgg_view_friendly_time($annotation->time_created)),
"<a href=\"" . $owner->getURL() . "\">" . $owner->name ."</a>"
);