diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-10-19 23:31:11 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-10-19 23:31:11 +0000 |
commit | ed8d88435ead39f44b8f3b0f2224f48b8b0963a7 (patch) | |
tree | 0abdc899741c798c5f54dd65555767d78218d318 /modules/aggregator | |
parent | 2e43215bbb968f867da05123ba71f303f1aa324b (diff) | |
download | brdo-ed8d88435ead39f44b8f3b0f2224f48b8b0963a7.tar.gz brdo-ed8d88435ead39f44b8f3b0f2224f48b8b0963a7.tar.bz2 |
- fixing an access bug in import.module.
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index ec8669055..364d6ccc2 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -57,7 +57,7 @@ function import_update() { function import_format_item($item, $feed = 0) { global $theme, $user; - if ($user->uid && user_access("post blogs")) { + if ($user->uid && user_access("post content")) { $output .= lm("<img src=\"". $theme->image("blog.gif") ."\" border=\"0\" width=\"12\" height=\"16\" alt=\"". t("Blog this item") ."\" />", array("mod" => "node", "op" => "add", "type" => "blog", "iid" => $item->iid), "", array("title" => t("Comment on this news item in your personal blog."))); } |