diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-03 22:13:10 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-03 22:13:10 +0000 |
commit | eff4faea7f3c95440f02ea45d0be4f67236e2bf3 (patch) | |
tree | 57d51ef4bc84547d60c9a6faae7d5ff5d82d00f9 /mod/thewire/views/rss | |
parent | 4b501dda1d62195531e4c2ab1bd84971c0cd4e37 (diff) | |
download | elgg-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/thewire/views/rss')
-rw-r--r-- | mod/thewire/views/rss/object/thewire.php | 2 | ||||
-rw-r--r-- | mod/thewire/views/rss/search/object/thewire/entity.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/thewire/views/rss/object/thewire.php b/mod/thewire/views/rss/object/thewire.php index 23a11a9d3..fbbb670b7 100644 --- a/mod/thewire/views/rss/object/thewire.php +++ b/mod/thewire/views/rss/object/thewire.php @@ -8,7 +8,7 @@ $owner = $vars['entity']->getOwnerEntity(); if ($owner) { - $title = sprintf(elgg_echo('thewire:by'), $owner->name); + $title = elgg_echo('thewire:by', array($owner->name)); } else { $subtitle = strip_tags($vars['entity']->description); $title = substr($subtitle,0,32); diff --git a/mod/thewire/views/rss/search/object/thewire/entity.php b/mod/thewire/views/rss/search/object/thewire/entity.php index 3d4a17b78..d9ea81ad1 100644 --- a/mod/thewire/views/rss/search/object/thewire/entity.php +++ b/mod/thewire/views/rss/search/object/thewire/entity.php @@ -12,7 +12,7 @@ if (!array_key_exists('entity', $vars)) { $owner = $vars['entity']->getOwnerEntity(); if ($owner) { - $title = sprintf(elgg_echo('thewire:by'), $owner->name); + $title = elgg_echo('thewire:by', array($owner->name)); } $description = $vars['entity']->getVolatileData('search_matched_description'); |