[Rt-commit] [rtir] 08/09: Call for attachments directly
Kevin Falcone
falcone at bestpractical.com
Fri Mar 28 17:44:31 EDT 2014
This is an automated email from the git hooks/post-receive script.
falcone pushed a commit to branch master
in repository rtir.
commit 733e5350d310e9aa3b0e746c9716be3fbb9252a5
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Fri Mar 7 14:08:20 2014 -0500
Call for attachments directly
/Ticket/Elements/FindAttachments was removed in RT since it was
just a wrapper around a call to Attachments. Call the
method directly.
---
html/RTIR/Display.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html/RTIR/Display.html b/html/RTIR/Display.html
index f1124ba..1af9079 100644
--- a/html/RTIR/Display.html
+++ b/html/RTIR/Display.html
@@ -241,7 +241,7 @@ if (defined $Ticket->TimeLeft && $Ticket->TimeLeft > 0 ) {
$TimeWorked .= "/".$Ticket->TimeLeft;
}
-my $attachments = $m->comp('/Ticket/Elements/FindAttachments', Ticket => $Ticket);
+my $attachments = $Ticket->Attachments;
</%INIT>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list