diff options
author | Juho Jaakkola <juho.jaakkola@mediamaisteri.com> | 2013-10-20 23:51:58 -0700 |
---|---|---|
committer | Juho Jaakkola <juho.jaakkola@mediamaisteri.com> | 2013-10-20 23:51:58 -0700 |
commit | f8d481a563c779890815e54fef5fae43fba2612d (patch) | |
tree | 42111acc434a652f9439462ddcf8b824ea2a9752 | |
parent | 088eb2ce72bfe3852a19f4387e28fee8bdba69c7 (diff) | |
parent | 0f18b3b09e2d033f0523736a15ba200b985ee9ac (diff) | |
download | elgg-f8d481a563c779890815e54fef5fae43fba2612d.tar.gz elgg-f8d481a563c779890815e54fef5fae43fba2612d.tar.bz2 |
Merge pull request #6151 from jdalsem/patch-9
Forward to list of all group blogs if archive not requested
-rw-r--r-- | mod/blog/start.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php index 91525acee..e724b91c2 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -152,7 +152,7 @@ function blog_page_handler($page) { if (!elgg_instanceof($group, 'group')) { forward('', '404'); } - if ($page[2] == 'all') { + if (!isset($page[2]) || $page[2] == 'all') { $params = blog_get_page_content_list($page[1]); } else { $params = blog_get_page_content_archive($page[1], $page[3], $page[4]); |