aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/views')
-rw-r--r--mod/pages/views/default/pages/breadcrumbs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/views/default/pages/breadcrumbs.php b/mod/pages/views/default/pages/breadcrumbs.php
index 0ab175339..9c95c64c2 100644
--- a/mod/pages/views/default/pages/breadcrumbs.php
+++ b/mod/pages/views/default/pages/breadcrumbs.php
@@ -10,7 +10,7 @@ $parent = $vars['parent'];
$breadcrumbs = '';
-$owner_url = $CONFIG->wwwroot . "pg/pages/owned/" . get_entity($page_owner)->username;
+$owner_url = elgg_get_site_url() . "pg/pages/owned/" . get_entity($page_owner)->username;
echo "<div id='breadcrumbs'><b><a href=\"{$owner_url}\">" . elgg_echo('pages:user') . "</a></b>";
//see if the new page's parent has a parent