From: cajus Date: Fri, 19 Feb 2010 08:38:55 +0000 (+0000) Subject: Remove filter error message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=135eb1c1840edad82ce9f2f06018dd4f25d46f66;p=gosa.git Remove filter error message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15651 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc b/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc index bb01370f9..83e126b9c 100644 --- a/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc +++ b/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc @@ -127,7 +127,7 @@ class filterSYSTEMS { msg_dialog::display(_("Error"),msgPool::siError($opsi->get_error()),ERROR_DIALOG); }else{ foreach($opsi_clients as $entry){ - if(empty($regex) || preg_match('/'.preg_quote($regex,'/').'/i',$entry['cn'])){ + if(empty($regex) || preg_match('/'.preg_quote($regex,'/').'/i',$entry['cn'][0])){ $entry['objectClass'] = array("FAKE_OC_OpsiHost"); $item = array('count' => count($entry)); foreach($entry as $name => $value){