diff options
author | cash <cash.costello@gmail.com> | 2013-01-22 14:36:27 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-01-22 14:36:27 -0500 |
commit | e60f092f80d247fbdc3089689bbf5ddb229762db (patch) | |
tree | 498904b391a080f38ef2d65214d42a69330ad452 /mod/groups/views/default | |
parent | 87995e28bab9a291db54da3faca90e2336066cbe (diff) | |
download | elgg-e60f092f80d247fbdc3089689bbf5ddb229762db.tar.gz elgg-e60f092f80d247fbdc3089689bbf5ddb229762db.tar.bz2 |
forgot to change the condition back after testing from previous commit
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r-- | mod/groups/views/default/groups/profile/summary.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/views/default/groups/profile/summary.php b/mod/groups/views/default/groups/profile/summary.php index 261a746d1..f1221f19a 100644 --- a/mod/groups/views/default/groups/profile/summary.php +++ b/mod/groups/views/default/groups/profile/summary.php @@ -15,7 +15,7 @@ if (!isset($vars['entity']) || !$vars['entity']) { $group = $vars['entity']; $owner = $group->getOwnerEntity(); -if ($owner) { +if (!$owner) { // not having an owner is very bad so we throw an exception $msg = elgg_echo('InvalidParameterException:IdNotExistForGUID', array('group owner', $group->guid)); throw new InvalidParameterException($msg); |