aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorMatt Beckett <beck24@gmail.com>2013-03-20 15:10:57 -0600
committerMatt Beckett <beck24@gmail.com>2013-03-20 15:10:57 -0600
commitb8bd4161058a2f539f1913a1dd9856f9e759c79c (patch)
tree335e6e423a582d6b2b679ff46ee4d7b0e3fdd979 /mod
parent36755bea9aefd7e8bf54deab7b29902f8733f9aa (diff)
downloadelgg-b8bd4161058a2f539f1913a1dd9856f9e759c79c.tar.gz
elgg-b8bd4161058a2f539f1913a1dd9856f9e759c79c.tar.bz2
only show notification status if you're a member of the group
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/default/groups/sidebar/my_status.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/views/default/groups/sidebar/my_status.php b/mod/groups/views/default/groups/sidebar/my_status.php
index 5951cbd28..1e4e84b80 100644
--- a/mod/groups/views/default/groups/sidebar/my_status.php
+++ b/mod/groups/views/default/groups/sidebar/my_status.php
@@ -41,7 +41,7 @@ if ($is_owner) {
}
// notification info
-if (elgg_is_active_plugin('notifications')) {
+if (elgg_is_active_plugin('notifications') && $is_member) {
if ($subscribed) {
elgg_register_menu_item('groups:my_status', array(
'name' => 'subscription_status',