aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/history.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/history.php')
-rw-r--r--mod/pages/history.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/pages/history.php b/mod/pages/history.php
index 6070a3fd0..d39bf7ae0 100644
--- a/mod/pages/history.php
+++ b/mod/pages/history.php
@@ -25,7 +25,8 @@ $offset = (int)get_input('offset');
$page_guid = get_input('page_guid');
$pages = get_entity($page_guid);
-add_submenu_item(sprintf(elgg_echo("pages:user"), elgg_get_page_owner()->name), "pg/pages/owned/" . elgg_get_page_owner()->username, 'pageslinksgeneral');
+add_submenu_item(elgg_echo("pages:user", array(elgg_get_page_owner()->name)),
+ "pg/pages/owned/" . elgg_get_page_owner()->username, 'pageslinksgeneral');
$title = $pages->title . ": " . elgg_echo("pages:history");
$content = elgg_view_title($title);
@@ -36,4 +37,4 @@ $sidebar = elgg_view('pages/sidebar/tree');
$body = elgg_view_layout('one_column_with_sidebar', $content, $sidebar);
-echo elgg_view_page($title, $body); \ No newline at end of file
+echo elgg_view_page($title, $body);