summaryrefslogtreecommitdiff
path: root/app/models/voicemail_setting.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/voicemail_setting.rb')
-rw-r--r--app/models/voicemail_setting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/voicemail_setting.rb b/app/models/voicemail_setting.rb
index 0e9e3fa..be3d749 100644
--- a/app/models/voicemail_setting.rb
+++ b/app/models/voicemail_setting.rb
@@ -60,7 +60,7 @@ class VoicemailSetting < ActiveRecord::Base
when 'Integer'
self.value = self.value.to_i
when 'Boolean'
- self.value = ActiveRecord::ConnectionAdapters::Column.value_to_boolean(self.value)
+ self.value = ActiveRecord::ConnectionAdapters::Column.value_to_boolean(self.value).to_s
end
end
end