[Rt-commit] r4939 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR/Elements

ruz at bestpractical.com ruz at bestpractical.com
Mon Apr 3 09:26:23 EDT 2006


Author: ruz
Date: Mon Apr  3 09:26:22 2006
New Revision: 4939

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/TransactionData

Log:
 r1228 at cubic-pc:  cubic | 2006-04-03 17:34:42 +0400
 * all perl 'false' values should be interpreted as inline all


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/TransactionData
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/TransactionData	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/TransactionData	Mon Apr  3 09:26:22 2006
@@ -52,7 +52,7 @@
 
         my $inline = RT->Config->Get( 'MaxInlineBody', $session{'CurrentUser'} );
         if ($message->ContentType =~ m{^(text/plain|message|text$)}i and 
-            ($inline == 0 or length($message->Content) < $inline) ) {
+            (!$inline or length($message->Content) < $inline) ) {
             $content = $message->Content;
         } else {
             $content = "";


More information about the Rt-commit mailing list