##// END OF EJS Templates
Fixed setting value serialization....
Jean-Philippe Lang -
r733:31eda0fcb2d8
parent child
Show More
@@ -36,7 +36,7 class Setting < ActiveRecord::Base
36 end
36 end
37
37
38 def value=(v)
38 def value=(v)
39 v = v.to_yaml if @@available_settings[name]['serialized'] && v.is_a?(String)
39 v = v.to_yaml if v && @@available_settings[name]['serialized']
40 write_attribute(:value, v)
40 write_attribute(:value, v)
41 end
41 end
42
42
General Comments 0
You need to be logged in to leave comments. Login now