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.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]);