[Rt-commit] r16276 - in rt/3.8/trunk: .

falcone at bestpractical.com falcone at bestpractical.com
Sat Oct 11 00:00:56 EDT 2008


Author: falcone
Date: Sat Oct 11 00:00:52 2008
New Revision: 16276

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/lib/RT/Template_Overlay.pm

Log:
 r40579 at ketch:  falcone | 2008-10-11 00:00:17 -0400
 * don't deHTMLify if the Parse failed


Modified: rt/3.8/trunk/lib/RT/Template_Overlay.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Template_Overlay.pm	(original)
+++ rt/3.8/trunk/lib/RT/Template_Overlay.pm	Sat Oct 11 00:00:52 2008
@@ -312,6 +312,8 @@
         ($rv, $msg) = $self->_Parse(@_);
     }
 
+    return ($rv, $msg) unless $rv;
+
     my $mime_type   = $self->MIMEObj->mime_type;
     if (defined $mime_type and $mime_type eq 'text/html') {
         $self->_DowngradeFromHTML(@_);


More information about the Rt-commit mailing list