diff options
author | Jeroen Dalsem <jdalsem@coldtrick.com> | 2013-10-21 08:36:22 +0200 |
---|---|---|
committer | Jeroen Dalsem <jdalsem@coldtrick.com> | 2013-10-21 08:36:22 +0200 |
commit | 0f18b3b09e2d033f0523736a15ba200b985ee9ac (patch) | |
tree | 42111acc434a652f9439462ddcf8b824ea2a9752 /mod | |
parent | 088eb2ce72bfe3852a19f4387e28fee8bdba69c7 (diff) | |
download | elgg-0f18b3b09e2d033f0523736a15ba200b985ee9ac.tar.gz elgg-0f18b3b09e2d033f0523736a15ba200b985ee9ac.tar.bz2 |
forward to all if no group archive requested
Diffstat (limited to 'mod')
-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]); |