aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorJeroen Dalsem <jdalsem@coldtrick.com>2013-10-21 08:36:22 +0200
committerJeroen Dalsem <jdalsem@coldtrick.com>2013-10-21 08:36:22 +0200
commit0f18b3b09e2d033f0523736a15ba200b985ee9ac (patch)
tree42111acc434a652f9439462ddcf8b824ea2a9752 /mod
parent088eb2ce72bfe3852a19f4387e28fee8bdba69c7 (diff)
downloadelgg-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.php2
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]);