aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r--mod/blog/start.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 619378af2..06d7299f8 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -92,11 +92,12 @@ function blog_runonce() {
function blog_page_handler($page) {
global $CONFIG;
- elgg_push_breadcrumb(elgg_echo('blog:blogs'), "{$CONFIG->site->url}pg/blog");
-
// see if we're showing all or just a user's
if (isset($page[0]) && !empty($page[0])) {
$username = $page[0];
+
+ // push breadcrumb
+ elgg_push_breadcrumb(elgg_echo('blog:blogs'), "{$CONFIG->site->url}pg/blog");
// forward away if invalid user.
if (!$user = get_user_by_username($username)) {