aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-02-18 09:29:29 -0500
committercash <cash.costello@gmail.com>2013-02-18 09:29:29 -0500
commitd27d5859a67396f84ec2087136f266a0530bd7c4 (patch)
tree8713603cb41d6ba7552c5254311fd2ef327706e5
parenta9a7c39540e196a4673775b6ec277a54b8436552 (diff)
downloadelgg-d27d5859a67396f84ec2087136f266a0530bd7c4.tar.gz
elgg-d27d5859a67396f84ec2087136f266a0530bd7c4.tar.bz2
Fixes #5068 removed invalid menu item creation
-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 4c36c0213..5951cbd28 100644
--- a/mod/groups/views/default/groups/sidebar/my_status.php
+++ b/mod/groups/views/default/groups/sidebar/my_status.php
@@ -14,7 +14,7 @@ $subscribed = elgg_extract('subscribed', $vars);
if (!elgg_is_logged_in()) {
return true;
}
-$t = new ElggMenuItem();
+
// membership status
$is_member = $group->isMember($user);
$is_owner = $group->getOwnerEntity() == $user;