existence in file always overrides

This commit is contained in:
Sam 2013-12-20 17:09:51 +11:00
parent 61a50f1cf6
commit cc9326c29d
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ class GlobalSetting
def lookup(key,default) def lookup(key,default)
resolve(@data[key], default) var = @data[key]
resolve(var, var.nil? ? default : "")
end end