Code

Check for empty message
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 20 Feb 2008 14:36:27 +0000 (14:36 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 20 Feb 2008 14:36:27 +0000 (14:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8994 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 0902420ed9fcf0d9e0f3f7023e8db43df6dc2758..3bf04aff50ef16c21daf159e1a6f88c1e799e602 100755 (executable)
@@ -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;
     }