summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9088377)
raw | patch | inline | side by side (parent: 9088377)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Feb 2010 08:38:55 +0000 (08:38 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Feb 2010 08:38:55 +0000 (08:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15651 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc b/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc
index bb01370f966603ac9c37eabb0b499655db816fc1..83e126b9c6a06a47b07dda553c66e8c7a8707c60 100644 (file)
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){