[Rt-commit] [rtir] 08/08: Call for attachments directly

Jim Brandt jbrandt at bestpractical.com
Fri Mar 7 15:04:15 EST 2014


This is an automated email from the git hooks/post-receive script.

jbrandt pushed a commit to branch 3.2/get-create-working
in repository rtir.

commit 826053e7e8ec53ac467bff0db7681e3a03595238
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