From 093493d86478e41b670f22c1f84ee0fb32fa5d28 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 11 Apr 2008 14:20:09 +0000 Subject: [PATCH] Updated package search git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10368 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) 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 -- 2.30.2