summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/user_preference.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb
index 5b95386be..56cbe763a 100644
--- a/app/models/user_preference.rb
+++ b/app/models/user_preference.rb
@@ -22,7 +22,7 @@ class UserPreference < ActiveRecord::Base
attr_protected :others, :user_id
before_save :set_others_hash
-
+
def initialize(attributes=nil, *args)
super
self.others ||= {}