diff options
Diffstat (limited to 'mod/blog/views')
-rw-r--r-- | mod/blog/views/default/blog/sidebar_menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php index ab00433c8..f69e23e29 100644 --- a/mod/blog/views/default/blog/sidebar_menu.php +++ b/mod/blog/views/default/blog/sidebar_menu.php @@ -49,7 +49,7 @@ if ($page_owner) { $page_owner = elgg_get_page_owner(); } - $link = $CONFIG->wwwroot . 'pg/blog/' . $page_owner->username . '/archive/' . $timestamplow . '/' . $timestamphigh; + $link = elgg_get_site_url() . 'pg/blog/' . $page_owner->username . '/archive/' . $timestamplow . '/' . $timestamphigh; $month = sprintf(elgg_echo('date:month:' . substr($date,4,2)), substr($date, 0, 4)); echo "<li><a href=\"$link\" title=\"$month\">$month</a></li>"; } |