aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.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/blog/start.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/blog/start.php')
-rw-r--r--mod/blog/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 1b2e31d03..386870fd4 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -106,7 +106,7 @@ function blog_page_handler($page) {
}
set_page_owner($user->getGUID());
- $crumbs_title = sprintf(elgg_echo('blog:owned_blogs'), $user->name);
+ $crumbs_title = elgg_echo('blog:owned_blogs', array($user->name));
$crumbs_url = "{$CONFIG->site->url}pg/blog/$username/read";
elgg_push_breadcrumb($crumbs_title, $crumbs_url);
@@ -117,7 +117,7 @@ function blog_page_handler($page) {
switch ($action) {
case 'read':
- $title = sprintf(elgg_echo('blog:title:user_blogs'), $user->name);
+ $title = elgg_echo('blog:title:user_blogs', array($user->name));
$content_info = blog_get_page_content_read($user->getGUID(), $page2);
break;