Fixes typo in declaration of variables.

This commit is contained in:
Martin Edenhofer 2012-11-12 13:54:04 +01:00
parent f8206ea86f
commit bbefa26980

View file

@ -135,11 +135,11 @@ class Index extends App.Controller
# set prio # set prio
priority = App.Collection.findByAttribute( 'TicketPriority', 'name', '2 normal' ) priority = App.Collection.findByAttribute( 'TicketPriority', 'name', '2 normal' )
params.ticket_state_id = priority.id params.ticket_priority_id = priority.id
# set state # set state
state = App.Collection.findByAttribute( 'TicketState', 'name', 'new' ) state = App.Collection.findByAttribute( 'TicketState', 'name', 'new' )
params.ticket_priority_id = state.id params.ticket_state_id = state.id
# fillup params # fillup params
if !params.title if !params.title