From d7ae804500e1daade2537452098d7dae7d11dce2 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 24 Sep 2014 21:37:06 +0200 Subject: [PATCH] Fixed tag delivery. --- app/controllers/tickets_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/tickets_controller.rb b/app/controllers/tickets_controller.rb index 12a5654b2..627aefc1a 100644 --- a/app/controllers/tickets_controller.rb +++ b/app/controllers/tickets_controller.rb @@ -270,8 +270,8 @@ class TicketsController < ApplicationController links.each { |item| link_list.push item if item['link_object'] == 'Ticket' - ticket = Ticket.lookup( :id => item['link_object_value'] ) - assets = ticket.assets(assets) + linked_ticket = Ticket.lookup( :id => item['link_object_value'] ) + assets = linked_ticket.assets(assets) end }