From bb1f45eb02bac603d67ac08cb674c4050a245c28 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 22:23:45 +0000 Subject: Refs #2598: Converted most $vars['url'] to elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7149 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/views/default/widgets/pages/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/pages/views/default/widgets') diff --git a/mod/pages/views/default/widgets/pages/view.php b/mod/pages/views/default/widgets/pages/view.php index d51fd008a..f42a1a85f 100644 --- a/mod/pages/views/default/widgets/pages/view.php +++ b/mod/pages/views/default/widgets/pages/view.php @@ -20,7 +20,7 @@ if (!$num_display) { $pages = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => elgg_get_page_owner_guid(), 'limit' => $num_display, 'full_view' => FALSE)); if ($pages) { - $pagesurl = $vars['url'] . "pg/pages/owned/" . elgg_get_page_owner()->username; + $pagesurl = elgg_get_site_url() . "pg/pages/owned/" . elgg_get_page_owner()->username; $pages .= "
" . elgg_echo('pages:more') . "
"; } -- cgit v1.2.3