From: hickert Date: Fri, 11 Apr 2008 14:20:09 +0000 (+0000) Subject: Updated package search X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=093493d86478e41b670f22c1f84ee0fb32fa5d28;p=gosa.git Updated package search git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10368 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 9ceccc240..01c12fcde 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -154,15 +154,17 @@ class gosaSupportDaemon /* Create list of attributes to fetch */ $pkgs = ""; foreach($package as $pkg){ - $pkgs .=" + $pkgs .=" + like ".$pkg." - "; + + "; } /* Create Daemon query */ - if(empty($package)){ + if(!count($package)){ $xml_msg = "
gosa_query_packages_list
GOSAGOSA". $attr. "".$release." @@ -171,13 +173,13 @@ class gosaSupportDaemon $xml_msg = "
gosa_query_packages_list
GOSAGOSA". $attr. " - AND - ".$release." - - - OR - $pkgs + AND + ".$release." + + OR + ".$pkgs." + 0100