aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index 0f0af0a80..074e2a771 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -86,7 +86,7 @@ function pages_submenus() {
// Group submenu option
if ($page_owner instanceof ElggGroup && elgg_get_context() == 'groups') {
if($page_owner->pages_enable != "no"){
- add_submenu_item(sprintf(elgg_echo("pages:group"),$page_owner->name), "pg/pages/owned/" . $page_owner->username);
+ add_submenu_item(elgg_echo("pages:group", array($page_owner->name)), "pg/pages/owned/" . $page_owner->username);
}
}
}