From: janw Date: Wed, 20 Feb 2008 14:36:27 +0000 (+0000) Subject: Check for empty message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f965b750928f5be4d923ec3092a0f5b87423e3b7;p=gosa.git Check for empty message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8994 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 0902420ed..3bf04aff5 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -466,7 +466,7 @@ sub check_outgoing_xml_validity { }; if($@) { daemon_log("WARNING: outgoing msg is not gosa-si envelope conform", 5); - daemon_log("$@ $msg", 8); + daemon_log("$@ ".(defined($msg) && length($msg)>0)?$msg:"Empty Message", 8); $msg_hash = undef; }