diff options
author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-23 18:08:57 +0200 |
---|---|---|
committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-23 18:08:57 +0200 |
commit | 386130114b3e3a9cf1617a1ea62407f569ee391c (patch) | |
tree | 4728e044dc755b79494101effd7fab4689d5289d /modules/notification/helpers/notification_menu.php | |
parent | 06fd89e8bcad2142f0b6158d5db7a91d2b6956d8 (diff) | |
parent | 5999ccb512d65ad9ae06a0a5542eb1123b44e9db (diff) |
Merge commit 'upstream/master'
Diffstat (limited to 'modules/notification/helpers/notification_menu.php')
-rw-r--r-- | modules/notification/helpers/notification_menu.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notification/helpers/notification_menu.php b/modules/notification/helpers/notification_menu.php index 87478b8a..73d1dd03 100644 --- a/modules/notification/helpers/notification_menu.php +++ b/modules/notification/helpers/notification_menu.php @@ -22,10 +22,10 @@ class notification_menu_Core { if (!user::active()->guest) { $item = $theme->item(); - if ($item && $item->is_album()) { + if ($item && $item->is_album() && access::can("view", $item)) { $watching = notification::is_watching($item); - $watching ? $label = t("Remove notifications") : $label = t("Enable notifications"); + $label = $watching ? t("Remove notifications") : t("Enable notifications"); $menu->get("options_menu") ->append(Menu::factory("link") |