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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index d0c4c5157..3c497088a 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -128,12 +128,12 @@ function blog_page_handler($page) {
$content_info = blog_get_page_content_edit($page2, $page3);
break;
- case 'archives':
- $content = elgg_view('page_elements/content_header', array('context' => $content, 'type' => 'blog'));
- $content .= blog_get_page_content_archive($user->getGUID(), $page2, $page3);
+ case 'archive':
+ $content_info = blog_get_page_content_archive($user->getGUID(), $page2, $page3);
break;
case 'friends':
+ //@todo make it go
$content = elgg_view('page_elements/content_header', array('context' => $content, 'type' => 'blog'));
$content .= blog_get_page_content_archive($user->getGUID());
break;