Prefs seem to use symbols rather than strings -- let's stick with those

pull/6827/head
friflaj 14 years ago
parent a96fde9d01
commit d979a73d55
  1. 2
      lib/backlogs_user_patch.rb

@ -13,7 +13,7 @@ module Backlogs
module InstanceMethods
def backlogs_preference(attr, set_to = nil)
prefixed = "backlogs.#{attr}"
prefixed = "backlogs_#{attr}".intern
v = self.pref[prefixed]
v = nil if v == ''

Loading…
Cancel
Save