Fix. Remove global variable.
This commit is contained in:
parent
e7ee8fb0f8
commit
20a84ee9b5
|
|
@ -99,7 +99,7 @@ function Settings:_load(category, subcategory, name)
|
||||||
local found = false
|
local found = false
|
||||||
--get the domain settings
|
--get the domain settings
|
||||||
if domain_uuid then
|
if domain_uuid then
|
||||||
sql = "SELECT domain_setting_uuid,domain_setting_category,domain_setting_subcategory,domain_setting_name,domain_setting_value "
|
local sql = "SELECT domain_setting_uuid,domain_setting_category,domain_setting_subcategory,domain_setting_name,domain_setting_value "
|
||||||
sql = sql .. "FROM v_domain_settings ";
|
sql = sql .. "FROM v_domain_settings ";
|
||||||
sql = sql .. "WHERE domain_uuid = '" .. domain_uuid .. "'";
|
sql = sql .. "WHERE domain_uuid = '" .. domain_uuid .. "'";
|
||||||
sql = sql .. "AND domain_setting_enabled = 'true' ";
|
sql = sql .. "AND domain_setting_enabled = 'true' ";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue