diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-05 13:26:41 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-05 13:26:41 +0000 |
commit | bb7fd0423871801000f48d6e1055a613449dd764 (patch) | |
tree | e8da065f1144526c72df0014f76cc51946b779cc | |
parent | 4fa76868e99fb422046a88d6dcc4db219fc776d0 (diff) | |
download | elgg-bb7fd0423871801000f48d6e1055a613449dd764.tar.gz elgg-bb7fd0423871801000f48d6e1055a613449dd764.tar.bz2 |
Fixed accidental group link error
git-svn-id: https://code.elgg.org/elgg/trunk@1704 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/groups/start.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php index 57773378a..6363a97ca 100644 --- a/mod/groups/start.php +++ b/mod/groups/start.php @@ -99,7 +99,7 @@ if ($page_owner->isMember($_SESSION['user'])) {
add_submenu_item(elgg_echo('groups:leave'), $CONFIG->wwwroot . "action/groups/leave?groups_guid=" . $page_owner->getGUID());
} else {
- if ($vars['entity']->isPublicMembership())
+ if ($page_owner->isPublicMembership())
{
add_submenu_item(elgg_echo('groups:join'),$CONFIG->wwwroot . "action/groups/join?group_guid={$page_owner->getGUID()}");
}
|