[Rt-commit] r18462 - rt/3.8/trunk/share/html/Ticket/Elements
    ruz at bestpractical.com 
    ruz at bestpractical.com
       
    Thu Feb 19 01:41:39 EST 2009
    
    
  
Author: ruz
Date: Thu Feb 19 01:41:39 2009
New Revision: 18462
Modified:
   rt/3.8/trunk/share/html/Ticket/Elements/ShowTransaction
Log:
* if we load all attachments then update %ARGS as we pass it through
Modified: rt/3.8/trunk/share/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/3.8/trunk/share/html/Ticket/Elements/ShowTransaction	(original)
+++ rt/3.8/trunk/share/html/Ticket/Elements/ShowTransaction	Thu Feb 19 01:41:39 2009
@@ -156,7 +156,7 @@
 unless ($Attachments) { 
     my $attachments = $Transaction->Attachments;
     $attachments->Columns( qw( Id Filename ContentType Headers Subject Parent ContentEncoding ContentType TransactionId) );
-    $Attachments = $attachments->ItemsArrayRef();
+    $ARGS{'Attachments'} = $Attachments = $attachments->ItemsArrayRef();
 }
 my $titlebar_commands = '';
 
    
    
More information about the Rt-commit
mailing list