Code

bugfix: db_res2xml with correct opening and closing tag
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Sep 2008 10:44:39 +0000 (10:44 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Sep 2008 10:44:39 +0000 (10:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12357 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/GosaSupportDaemon.pm
gosa-si/tests/client.php

index 5de3ec4524d6632ccbee2478561596e0a1863f48..7a95901c2a7fc8e9480490e86c5290ec7c06feea 100644 (file)
@@ -241,7 +241,7 @@ sub db_res2xml {
             $xml .= $xml_content;
             $xml .= "</$column_name>"; 
         }
-        $xml .= "</answer$i>";
+        $xml .= "</answer>";
 
     }
 
index 52d106692521e140230b4a6a106c31686da22d84..67e038f14478d5a451da728c67ca5988bc804ef0 100755 (executable)
@@ -88,7 +88,7 @@ for($count = 1; $count <= $zahl; $count++)
     ###########
     # messaging 
     #$data = "<xml> <header>gosa_send_user_msg</header> <target>GOSA</target> <source>GOSA</source> <subject>".base64_encode("eine wichtige nachricht")."</subject> <from>admin</from>  <user>polle</user> <user>harald</user> <delivery_time>20130101235959</delivery_time> <message>".base64_encode("kaffeepause")."</message> </xml>"; 
-    $data = "<xml> <header>gosa_send_user_msg</header> <target>GOSA</target> <source>GOSA</source> <subject>".base64_encode("eine wichtige nachricht")."</subject> <from>admin</from> <delivery_time>20130101235959</delivery_time> <message>".base64_encode("kaffeepause")."</message> </xml>"; 
+    #$data = "<xml> <header>gosa_send_user_msg</header> <target>GOSA</target> <source>GOSA</source> <subject>".base64_encode("eine wichtige nachricht")."</subject> <from>admin</from> <delivery_time>20130101235959</delivery_time> <message>".base64_encode("kaffeepause")."</message> </xml>"; 
 
     ################
     # logHandling.pm