diff options
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 21f58b721..f56660b78 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -171,7 +171,7 @@ function blog_page_user_access($account) { // The visitor must be able to access the site's content. // For a blog to 'exist' the user must either be able to // create new blog entries, or it must have existing posts. - return $account->uid && user_access('access content') && (user_access('create blog entries', $account) || _blog_post_exists($account)); + return $account->uid && user_access('access content') && (user_access('create blog content', $account) || _blog_post_exists($account)); } /** |