[Rt-commit] r12888 - rt/branches/3.8-TESTING/lib/RT/Interface

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jun 4 16:06:33 EDT 2008


Author: sunnavy
Date: Wed Jun  4 16:06:32 2008
New Revision: 12888

Modified:
   rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm

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

Modified: rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm	Wed Jun  4 16:06:32 2008
@@ -559,7 +559,7 @@
 
     return () unless    $args{ARGSRef}->{'UpdateTimeWorked'}
                      || $args{ARGSRef}->{'UpdateAttachments'}
-                     || $args{ARGSRef}->{'UpdateContent'};
+                     || defined $args{ARGSRef}->{'UpdateContent'};
 
     #Make the update content have no 'weird' newlines in it
     $args{ARGSRef}->{'UpdateContent'} =~ s/\r+\n/\n/g if $args{ARGSRef}->{'UpdateContent'};


More information about the Rt-commit mailing list