aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/lib/blog.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/lib/blog.php')
-rw-r--r--mod/blog/lib/blog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php
index df307d70e..83e6c84ee 100644
--- a/mod/blog/lib/blog.php
+++ b/mod/blog/lib/blog.php
@@ -87,7 +87,7 @@ function blog_get_page_content_list($container_guid = NULL) {
if (elgg_instanceof($container, 'group')) {
$return['filter'] = '';
- if ($container->isMember(elgg_get_logged_in_user_entity())) {
+ if ($container->canWriteToContainer()) {
$url = "blog/add/$container->guid";
$params = array(
'href' => $url,