Code

Fixed GOsa si package list query
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 07:32:34 +0000 (07:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 07:32:34 +0000 (07:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10378 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_gosaSupportDaemon.inc

index 2e300bfe5bad7b85cca9ee88afb9a4afb477ac70..b33e59eb82c889809c535dba0359a69b45a1fbc6 100644 (file)
@@ -179,16 +179,19 @@ class gosaSupportDaemon
          $xml_msg = "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
         $attr.
         "<where>
-            <clause>
-             <connector>AND</connector>
-             <phrase><distribution>".$release."</distribution></phrase>
-              <clause>
-              <connector>OR</connector>
-               ".$pkgs."
-             </clause>
-            </clause>
-         </where>
-         <limit><from>0</from><to>100</to></limit>
+
+          <clause>
+            <phrase>
+              <distribution>".$release."</distribution>
+            </phrase>
+          </clause>
+
+          <clause>
+            <connector>OR</connector>
+                ".$pkgs."
+          </clause>
+        </where>
+        <limit><from>0</from><to>100</to></limit>
         </xml>";
     }