diff --git a/modules/aggregator.module b/modules/aggregator.module index ec86690553781ac3e373540db7b971393031b24e..364d6ccc2adbf100950aa0c1621a438ee9463844 100644 --- a/modules/aggregator.module +++ b/modules/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."))); } diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index ec86690553781ac3e373540db7b971393031b24e..364d6ccc2adbf100950aa0c1621a438ee9463844 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."))); } diff --git a/modules/import.module b/modules/import.module index ec86690553781ac3e373540db7b971393031b24e..364d6ccc2adbf100950aa0c1621a438ee9463844 100644 --- a/modules/import.module +++ b/modules/import.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."))); }