Fixed lookup.
This commit is contained in:
parent
7279536d8f
commit
117f761348
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ returns
|
||||||
|
|
||||||
# set all to seen if pending action state is a closed or merged state
|
# set all to seen if pending action state is a closed or merged state
|
||||||
if state_type.name == 'pending action' && state.next_state_id
|
if state_type.name == 'pending action' && state.next_state_id
|
||||||
state = Ticket::State.lookup( id: next_state_id )
|
state = Ticket::State.lookup( id: state.next_state_id )
|
||||||
state_type = Ticket::StateType.lookup( id: state.state_type_id )
|
state_type = Ticket::StateType.lookup( id: state.state_type_id )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue