summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a49059)
raw | patch | inline | side by side (parent: 6a49059)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 12:03:30 +0000 (12:03 +0000) | ||
committer | hickert <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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10355 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index b6eff67e502b5a1766dfa5d08a4a963bbf652796..2f3401e52dbb0c526b604b4fbb207f35ae7fcc44 100644 (file)
/* 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>".
- "<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>".
- "<select> ".trim($attr,", ")." </select>".
+ $attr.
"<where><clause>
<connector>AND</connector>
<phrase><distribution>".$release."</distribution></phrase>