Fixed wrong variable use.
This commit is contained in:
parent
9edcf47edb
commit
14e1b5a404
1 changed files with 5 additions and 5 deletions
|
@ -423,7 +423,7 @@ retrns
|
|||
|
||||
ticket = nil
|
||||
article = nil
|
||||
user = nil
|
||||
session_user = nil
|
||||
|
||||
# use transaction
|
||||
ActiveRecord::Base.transaction do
|
||||
|
@ -565,7 +565,7 @@ retrns
|
|||
filters.each { |_prio, backend|
|
||||
Rails.logger.debug "run postmaster post filter #{backend}"
|
||||
begin
|
||||
backend.run(channel, mail, ticket, article, user)
|
||||
backend.run(channel, mail, ticket, article, session_user)
|
||||
rescue => e
|
||||
Rails.logger.error "can't run postmaster post filter #{backend}"
|
||||
Rails.logger.error e.inspect
|
||||
|
@ -573,7 +573,7 @@ retrns
|
|||
}
|
||||
|
||||
# return new objects
|
||||
[ticket, article, user, mail]
|
||||
[ticket, article, session_user, mail]
|
||||
end
|
||||
|
||||
def set_attributes_by_x_headers(item_object, header_name, mail, suffix = false)
|
||||
|
|
Loading…
Reference in a new issue