From 135eb1c1840edad82ce9f2f06018dd4f25d46f66 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 19 Feb 2010 08:38:55 +0000 Subject: [PATCH] Remove filter error message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15651 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){ -- 2.30.2