[Rt-commit] r7069 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Mon Feb 26 09:42:03 EST 2007


Author: ruz
Date: Mon Feb 26 09:42:02 2007
New Revision: 7069

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransaction

Log:
 r4598 at cubic-pc (orig r7034):  ruz | 2007-02-20 17:32:20 +0300
  r4584 at cubic-pc (orig r7019):  ruz | 2007-02-15 22:01:12 +0300
  * use a local array of attachments we have instead of $Transaction->Attachments call
 


Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransaction	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransaction	Mon Feb 26 09:42:02 2007
@@ -146,15 +146,15 @@
 if ( $Transaction->Type =~ /EmailRecord$/ ) {
     @DisplayHeaders = qw(To Cc Bcc);
 
+    my $aid = 
+
     $titlebar_commands .=
         "[<a target=\"_blank\" href=\"$EmailRecordPath?id="
       . $Transaction->Ticket
       . "&Transaction="
       . $Transaction->Id
       . "&Attachment="
-      . (    $Transaction->Attachments->First
-          && $Transaction->Attachments->First->Id )
-
+      . ( $Attachments->[0] && $Attachments->[0]->id )
       . '">' . loc('Show') . "</a>]&nbsp;";
     $ShowBody = 0;
 }


More information about the Rt-commit mailing list