Update languages.lua
Prevent a nill error when the phrase was not found.
This commit is contained in:
parent
2d200fd7a1
commit
db55501e61
|
|
@ -164,6 +164,7 @@
|
|||
end
|
||||
|
||||
--set the cache
|
||||
if (XML_STRING) then
|
||||
local ok, err = cache.set(language_cache_key, XML_STRING, expire["acl"]);
|
||||
if debug["cache"] then
|
||||
if ok then
|
||||
|
|
@ -172,6 +173,7 @@
|
|||
freeswitch.consoleLog("warning", "[xml_handler] " .. language_cache_key .. " can not be stored in the cache: " .. tostring(err) .. "\n");
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--send to the console
|
||||
if (debug["cache"]) then
|
||||
|
|
|
|||
Loading…
Reference in New Issue