diff options
author | cash <cash.costello@gmail.com> | 2011-11-05 19:15:42 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-05 19:15:42 -0400 |
commit | 61d24f4b7b4fd4d5e960593a25a0d96b11891ff0 (patch) | |
tree | af0128a6f7a99aa92c807bcfad03341c08fd35a6 /mod/blog | |
parent | eeade2d2716826b419c1ca67a62a102017c31b02 (diff) | |
download | elgg-61d24f4b7b4fd4d5e960593a25a0d96b11891ff0.tar.gz elgg-61d24f4b7b4fd4d5e960593a25a0d96b11891ff0.tar.bz2 |
Fixes #4024 fixed a lot of notices - enough for this release - found a few bugs
Diffstat (limited to 'mod/blog')
-rw-r--r-- | mod/blog/start.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php index 052c63651..fa57e7b96 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -145,7 +145,11 @@ function blog_page_handler($page) { return false; } - $params['sidebar'] .= elgg_view('blog/sidebar', array('page' => $page_type)); + if (isset($params['sidebar'])) { + $params['sidebar'] .= elgg_view('blog/sidebar', array('page' => $page_type)); + } else { + $params['sidebar'] = elgg_view('blog/sidebar', array('page' => $page_type)); + } $body = elgg_view_layout('content', $params); |