]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
forgot to change the condition back after testing from previous commit
authorcash <cash.costello@gmail.com>
Tue, 22 Jan 2013 19:36:27 +0000 (14:36 -0500)
committercash <cash.costello@gmail.com>
Tue, 22 Jan 2013 19:36:27 +0000 (14:36 -0500)
mod/groups/views/default/groups/profile/summary.php

index 261a746d1727fe1a8569f716ccccdf6ebbdceba1..f1221f19a9f1bbbc17c568f7956c13f3f079ebb5 100644 (file)
@@ -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);