From 6f919fa562fe6d1aab9784b86e5b59b562e23a43 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 9 Jan 2013 14:55:11 +0100 Subject: Returning true to avoid making the views system think the include failed. --- mod/blog/views/default/blog/sidebar/archives.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/blog/views/default/blog/sidebar/archives.php b/mod/blog/views/default/blog/sidebar/archives.php index dc7f123b4..030261094 100644 --- a/mod/blog/views/default/blog/sidebar/archives.php +++ b/mod/blog/views/default/blog/sidebar/archives.php @@ -6,7 +6,7 @@ $page_owner = elgg_get_page_owner_entity(); if (!$page_owner) { - return; + return true; } if (elgg_instanceof($page_owner, 'user')) { -- cgit v1.2.3