From 33f455d2df47ef80dd5b3c736762cecd23b0ba63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 9 Jan 2008 09:51:35 +0000 Subject: #153998 by David_Rothstein and myself: clean up permissions in book, blog, blogapi, forum and locale modules --- modules/aggregator/aggregator.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/aggregator') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 0b7e5a420..b988e637b 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -887,7 +887,7 @@ function theme_aggregator_block_item($item, $feed = 0) { global $user; $output = ''; - if ($user->uid && module_exists('blog') && user_access('edit own blog')) { + if ($user->uid && module_exists('blog') && user_access('create blog entries')) { if ($image = theme('image', 'misc/blog.png', t('blog it'), t('blog it'))) { $output .= '
'. l($image, 'node/add/blog', array('attributes' => array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), 'query' => "iid=$item->iid", 'html' => TRUE)) .'
'; } -- cgit v1.2.3