aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/friends/index.php2
-rw-r--r--pages/friends/of.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/friends/index.php b/pages/friends/index.php
index 4e379cae4..473e456c4 100644
--- a/pages/friends/index.php
+++ b/pages/friends/index.php
@@ -13,7 +13,7 @@ if (!$owner) {
$owner = elgg_get_page_owner();
}
-$title = sprintf(elgg_echo("friends:owned"), $owner->name);
+$title = elgg_echo("friends:owned", array($owner->name));
$content = elgg_view_title($title);
diff --git a/pages/friends/of.php b/pages/friends/of.php
index 19806786e..9e49ccfd4 100644
--- a/pages/friends/of.php
+++ b/pages/friends/of.php
@@ -13,7 +13,7 @@ if (!$owner) {
$owner = elgg_get_page_owner();
}
-$title = sprintf(elgg_echo("friends:of:owned"), $owner->name);
+$title = elgg_echo("friends:of:owned", array($owner->name));
$content = elgg_view_title($title);