summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2004-06-17 18:35:47 (GMT)
committerDries Buytaert2004-06-17 18:35:47 (GMT)
commit28be8dfee0effcd470fc6b8fbccdbf6eee6a467c (patch)
treeabd65ddeb891059342cb75898146d3d7828efae8
parentc1e0e57691fe41234a4af11fbb12bad7e5efdb71 (diff)
- Patch #8398 by Ber: the 'blog it'-links were never shown due to an incorrect
(but otherwise harmless) permission check.
-rw-r--r--modules/aggregator.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 8ded3f7..02c6586 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -833,7 +833,7 @@ function theme_aggregator_feed($feed) {
function theme_aggregator_block_item($item, $feed = 0) {
global $user;
- if ($user->uid && module_exist("blog") && user_access("maintain personal blog")) {
+ if ($user->uid && module_exist("blog") && user_access("edit own blog")) {
$output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" />", "node/add/blog", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it"), "iid=$item->iid") ."</div>";
}