Fixed syntax error.
This commit is contained in:
parent
c5d9d7b022
commit
2d5bcf7f4a
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Observer::Ticket::Article::CommunicateEmail < ActiveRecord::Observer
|
||||||
return if type['name'] != 'email'
|
return if type['name'] != 'email'
|
||||||
|
|
||||||
# build subject
|
# build subject
|
||||||
ticket = Ticket.lookup( record.ticket_id )
|
ticket = Ticket.lookup( :id => record.ticket_id )
|
||||||
subject = ticket.subject_build( record.subject )
|
subject = ticket.subject_build( record.subject )
|
||||||
|
|
||||||
# send email
|
# send email
|
||||||
|
|
Loading…
Reference in a new issue