[Rt-commit] r7034 - in rt/branches/3.7-EXPERIMENTAL-RTIR-2.2: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Feb 20 09:32:21 EST 2007
Author: ruz
Date: Tue Feb 20 09:32:20 2007
New Revision: 7034
Modified:
rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/ (props changed)
rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Ticket/Elements/ShowTransaction
Log:
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-RTIR-2.2/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Ticket/Elements/ShowTransaction (original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Ticket/Elements/ShowTransaction Tue Feb 20 09:32:20 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>] ";
$ShowBody = 0;
}
More information about the Rt-commit
mailing list