[Rt-commit] [rtir] 06/11: Call Attachments directly rather than old wrapper template

Jim Brandt jbrandt at bestpractical.com
Thu Mar 20 16:35:45 EDT 2014


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

jbrandt pushed a commit to branch 3.2/incident-investigation-updates
in repository rtir.

commit afd84063fd12b7bc37f4c797ab728a8668cc3d3e
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Mar 10 09:00:46 2014 -0400

    Call Attachments directly rather than old wrapper template
---
 html/RTIR/Incident/Display.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/RTIR/Incident/Display.html b/html/RTIR/Incident/Display.html
index b58d710..02e89ba 100644
--- a/html/RTIR/Incident/Display.html
+++ b/html/RTIR/Incident/Display.html
@@ -284,7 +284,7 @@ if ( defined $TicketObj->TimeLeft && $TicketObj->TimeLeft > 0 ) {
     $TimeWorked .= '/'. $TicketObj->TimeLeft;
 }
 
-my $attachments = $m->comp('/Ticket/Elements/FindAttachments', Ticket => $TicketObj);
+my $attachments = $TicketObj->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