Followup fix for issue #638 and issue #639 (need to use self. for initialising).

This commit is contained in:
Martin Edenhofer 2017-01-18 10:11:56 +01:00
parent 8925c6f518
commit 9a8327c51a

View file

@ -56,7 +56,7 @@ class Taskbar < ApplicationModel
# find other same open tasks
if !preferences
preferences = {}
self.preferences = {}
end
preferences[:tasks] = []
Taskbar.where(key: key).order(:created_at).each { |taskbar|