Fixed variable space for updated_by_id.

This commit is contained in:
Martin Edenhofer 2013-04-20 11:02:41 +02:00
parent d4ad0805af
commit 55b27c6863

View file

@ -154,7 +154,7 @@ class Observer::History < ActiveRecord::Observer
:value_to => value[1], :value_to => value[1],
:id_from => value_ids[0], :id_from => value_ids[0],
:id_to => value_ids[1], :id_to => value_ids[1],
:created_by_id => self['updated_by_id'] || UserInfo.current_user_id || 1 :created_by_id => record['updated_by_id'] || UserInfo.current_user_id || 1
) )
end end