diff --git a/lib/site_setting_extension.rb b/lib/site_setting_extension.rb index b29a6a7c575..5d78c224df3 100644 --- a/lib/site_setting_extension.rb +++ b/lib/site_setting_extension.rb @@ -144,7 +144,7 @@ module SiteSettingExtension type = get_data_type(defaults[name]) if type == Types::Bool && val != true && val != false - val = (val == "t" || val == "true") + val = (val == "t" || val == "true") ? 't' : 'f' end if type == Types::Fixnum && !(Fixnum === val)