From e60f092f80d247fbdc3089689bbf5ddb229762db Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 22 Jan 2013 14:36:27 -0500 Subject: forgot to change the condition back after testing from previous commit --- mod/groups/views/default/groups/profile/summary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') 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); -- cgit v1.2.3