aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-01-09 14:55:11 +0100
committerSem <sembrestels@riseup.net>2013-01-09 14:55:11 +0100
commit6f919fa562fe6d1aab9784b86e5b59b562e23a43 (patch)
tree8eb0d2e4c853c8a7357e5caeb801d1e25f7e0fca /mod/blog
parent4c5529e8ab898451d02fb93dc77032d1bedad997 (diff)
downloadelgg-6f919fa562fe6d1aab9784b86e5b59b562e23a43.tar.gz
elgg-6f919fa562fe6d1aab9784b86e5b59b562e23a43.tar.bz2
Returning true to avoid making the views system think the include failed.
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/views/default/blog/sidebar/archives.php2
1 files changed, 1 insertions, 1 deletions
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')) {