From eff4faea7f3c95440f02ea45d0be4f67236e2bf3 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 3 Nov 2010 22:13:10 +0000 Subject: 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 --- mod/pages/views/default/annotation/page.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/pages/views/default/annotation/page.php') 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)), "getURL() . "\">" . $owner->name ."" ); -- cgit v1.2.3