From: hickert Date: Mon, 24 Sep 2007 13:18:37 +0000 (+0000) Subject: Fixed checkboxes in group generic. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ffb25dff91af605319f8b9c9c5d4ea111cf31871;p=gosa.git Fixed checkboxes in group generic. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7391 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc index b8c214933..1ef173718 100644 --- a/plugins/admin/groups/class_groupGeneric.inc +++ b/plugins/admin/groups/class_groupGeneric.inc @@ -82,7 +82,7 @@ class group extends plugin /* Is a samba group? */ if (isset($this->attrs['objectClass'])){ - if (array_search ('sambaGroupMapping', $this->attrs['objectClass']) === NULL ){ + if (array_search ('sambaGroupMapping', $this->attrs['objectClass']) == FALSE ){ $this->smbgroup= FALSE; } else { $this->smbgroup= TRUE; @@ -90,12 +90,12 @@ class group extends plugin $this->sambaSID= $this->attrs['sambaSID'][0]; } } - if (array_search ('goFonPickupGroup', $this->attrs['objectClass']) === NULL ){ + if (array_search ('goFonPickupGroup', $this->attrs['objectClass']) == FALSE ){ $this->fon_group= FALSE; } else { $this->fon_group= TRUE; } - if (array_search ('nagiosContactGroup', $this->attrs['objectClass']) === NULL ){ + if (array_search ('nagiosContactGroup', $this->attrs['objectClass']) == FALSE ){ $this->nagios_group= FALSE; } else { $this->nagios_group= TRUE;