[Rt-commit] r12889 - rt/branches/3.8-TESTING/share/html/Ticket/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jun 4 16:07:47 EDT 2008


Author: sunnavy
Date: Wed Jun  4 16:07:41 2008
New Revision: 12889

Modified:
   rt/branches/3.8-TESTING/share/html/Ticket/Elements/ShowMessageStanza

Log:
fixed not show msg bug if updatecontent is '0'

Modified: rt/branches/3.8-TESTING/share/html/Ticket/Elements/ShowMessageStanza
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Ticket/Elements/ShowMessageStanza	(original)
+++ rt/branches/3.8-TESTING/share/html/Ticket/Elements/ShowMessageStanza	Wed Jun  4 16:07:41 2008
@@ -58,7 +58,7 @@
                   Message => $stanza );
     }
     elsif ( ref $stanza eq "HASH" ) {
-        $para .= ($stanza->{raw}||'') ."\n";
+        $para .= ( defined $stanza->{raw} ? $stanza->{raw} : '') ."\n";
     }
 }
 $print_content->( \$para ) if length $para;


More information about the Rt-commit mailing list