diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-07-22 14:28:33 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-22 14:28:33 -0700 |
| commit | c8d215bf8015d9390201e49977b580319210a017 (patch) | |
| tree | d2532cc8fef6ddbe016d5219ba90076007668f04 /modules/notification/helpers/notification_menu.php | |
| parent | dbeadc1407293d0c7af36723db6fe5699890b845 (diff) | |
| parent | 427e1130b26a75a59b5e180e2008f5eace398920 (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
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") |
