diff options
author | Steve Clay <steve@mrclay.org> | 2012-12-05 09:45:31 -0500 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2012-12-05 09:45:31 -0500 |
commit | ce1cff247caf418af1fab52c5c2182883b7a26d0 (patch) | |
tree | db201a5bf1cc0e6b5fe5098e2dd564ca8414beef /mod/groups/views | |
parent | 8b6ef5a2081e0436a5135e8cfa954fd3ab158282 (diff) | |
download | elgg-ce1cff247caf418af1fab52c5c2182883b7a26d0.tar.gz elgg-ce1cff247caf418af1fab52c5c2182883b7a26d0.tar.bz2 |
Fixes fatal error in groups/add page.
Diffstat (limited to 'mod/groups/views')
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 7a740b878..41d97e6c3 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -147,7 +147,7 @@ if ($tools) { <div class="elgg-foot"> <?php -if (isset($entity)) { +if ($entity) { echo elgg_view('input/hidden', array( 'name' => 'group_guid', 'value' => $entity->getGUID(), @@ -156,7 +156,7 @@ if (isset($entity)) { echo elgg_view('input/submit', array('value' => elgg_echo('save'))); -if (isset($entity)) { +if ($entity) { $delete_url = 'action/groups/delete?guid=' . $entity->getGUID(); echo elgg_view('output/confirmlink', array( 'text' => elgg_echo('groups:delete'), |