Code

Removed quoting from regex ..
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Sep 2009 13:11:25 +0000 (13:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Sep 2009 13:11:25 +0000 (13:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14300 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index acc045d32ef05705a4ea60c619486654e2c8deb3..844e9f629ef24a9ed2fa44844db9291c63700453 100644 (file)
@@ -1472,7 +1472,7 @@ class systems extends plugin
      */
     $oRex = preg_replace("/\*/",".*",$this->DivListSystem->Regex);
     foreach($opsi_clients as $entry){
-      if(isset($opsi_map[$entry['cn'][0]]) || !preg_match("/".preg_quote($oRex)."/", $entry['cn'][0])){
+      if(isset($opsi_map[$entry['cn'][0]]) || !preg_match("/".($oRex)."/", $entry['cn'][0])){
         continue;
       }
       $terminal             = $entry;