Code

Applied in_array strict patches from trunk
[gosa.git] / gosa-core / include / class_userFilterEditor.inc
index 5cfc7c073d44f9eb3a823a433131d5bce4ee16a8..cdf62871bb984d04d778597e26a15adffced2a6f 100644 (file)
@@ -42,8 +42,8 @@ class userFilterEditor extends plugin
                 $this->queries[] = $query;
             }
             $this->selectedCategories = $entry['categories'];
-            $this->share = in_array("share",$entry['flags']);
-            $this->enable = in_array("enable",$entry['flags']);
+            $this->share = in_array_strict("share",$entry['flags']);
+            $this->enable = in_array_strict("enable",$entry['flags']);
         }
         $this->orig_name = $this->name;