Code

Fixed checkboxes in group generic.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Sep 2007 13:18:37 +0000 (13:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Sep 2007 13:18:37 +0000 (13:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7391 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupGeneric.inc

index b8c214933d925c0894b699fc17ec1783b84765d2..1ef173718c30fd9f63719617679e53a834f358ea 100644 (file)
@@ -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;