Code

Updated si class
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Apr 2008 12:03:30 +0000 (12:03 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Apr 2008 12:03:30 +0000 (12:03 +0000)
-Fixed package read

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10355 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_gosaSupportDaemon.inc

index b6eff67e502b5a1766dfa5d08a4a963bbf652796..2f3401e52dbb0c526b604b4fbb207f35ae7fcc44 100644 (file)
@@ -148,18 +148,18 @@ class gosaSupportDaemon
     /* Create list of attributes to fetch */
     $attr = ""; 
     foreach($attrs as $at){
     /* Create list of attributes to fetch */
     $attr = ""; 
     foreach($attrs as $at){
-      $attr.= $at.", ";
+      $attr.= "<select>".$at."</select>";
     }
 
     /* Create Daemon query */
     if(empty($package)){
       $xml_msg = "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
     }
 
     /* Create Daemon query */
     if(empty($package)){
       $xml_msg = "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
-        "<select> ".trim($attr,", ")." </select>".
+        $attr.
         "<where><clause><phrase><distribution>".$release."</distribution></phrase></clause></where>
         </xml>";
     }else{
          $xml_msg = "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
         "<where><clause><phrase><distribution>".$release."</distribution></phrase></clause></where>
         </xml>";
     }else{
          $xml_msg = "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
-        "<select> ".trim($attr,", ")." </select>".
+        $attr.
         "<where><clause>
             <connector>AND</connector>
             <phrase><distribution>".$release."</distribution></phrase>
         "<where><clause>
             <connector>AND</connector>
             <phrase><distribution>".$release."</distribution></phrase>