From 70502660696cab8f413d5190fac06c0a028e2e7e Mon Sep 17 00:00:00 2001 From: rettenbe Date: Mon, 25 Feb 2008 17:34:12 +0000 Subject: [PATCH] bugbugfix: query_jobdb git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9115 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/GosaPackages.pm | 1 + gosa-si/modules/GosaSupportDaemon.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-si/modules/GosaPackages.pm b/gosa-si/modules/GosaPackages.pm index 5c9bb9a47..18879d691 100644 --- a/gosa-si/modules/GosaPackages.pm +++ b/gosa-si/modules/GosaPackages.pm @@ -421,6 +421,7 @@ sub query_jobdb { # execute db query my $res_hash = $main::job_db->select_dbentry($sql_statement); my $out_xml = &db_res2si_msg($res_hash, "query_jobdb", $target, $source); + my @out_msg_l = ( $out_xml ); return @out_msg_l; } diff --git a/gosa-si/modules/GosaSupportDaemon.pm b/gosa-si/modules/GosaSupportDaemon.pm index 2044f54c1..f899cf4dd 100644 --- a/gosa-si/modules/GosaSupportDaemon.pm +++ b/gosa-si/modules/GosaSupportDaemon.pm @@ -284,7 +284,7 @@ sub db_res2xml { my $len_db_res= keys %{$db_res}; for( my $i= 1; $i<= $len_db_res; $i++ ) { - $xml .= ""; + $xml .= "\n"; my $hash= $db_res->{$i}; while ( my ($column_name, $column_value) = each %{$hash} ) { $xml .= "<$column_name>"; -- 2.30.2