From: hickert Date: Mon, 21 Sep 2009 13:11:25 +0000 (+0000) Subject: Removed quoting from regex .. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8ea1135d7564a65f9fac13c00c9283e1c16b2bc5;p=gosa.git Removed quoting from regex .. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14300 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index acc045d32..844e9f629 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -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;