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/blog/views/default/river/object/blog/create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/blog/views/default/river/object') diff --git a/mod/blog/views/default/river/object/blog/create.php b/mod/blog/views/default/river/object/blog/create.php index 3a521894f..d311c5883 100644 --- a/mod/blog/views/default/river/object/blog/create.php +++ b/mod/blog/views/default/river/object/blog/create.php @@ -9,7 +9,7 @@ $url = $object->getURL(); $contents = strip_tags($object->excerpt); $url = "getURL()}\">{$performed_by->name}"; -$title = sprintf(elgg_echo('blog:river:create'), $url); +$title = elgg_echo('blog:river:create', array($url)); $string .= $title . " getURL()}\">{$object->title} " . elgg_view_friendly_time($object->time_created); if (isloggedin()) { -- cgit v1.2.3