mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +08:00
existence in file always overrides
This commit is contained in:
@ -52,7 +52,8 @@ class GlobalSetting
|
||||
|
||||
|
||||
def lookup(key,default)
|
||||
resolve(@data[key], default)
|
||||
var = @data[key]
|
||||
resolve(var, var.nil? ? default : "")
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user