mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
existence in file always overrides
This commit is contained in:
parent
61a50f1cf6
commit
cc9326c29d
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ class GlobalSetting
|
|||
|
||||
|
||||
def lookup(key,default)
|
||||
resolve(@data[key], default)
|
||||
var = @data[key]
|
||||
resolve(var, var.nil? ? default : "")
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue