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 }