diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/languages/languages.lua b/resources/install/scripts/app/xml_handler/resources/scripts/languages/languages.lua index 420c4e85ce..0480236847 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/languages/languages.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/languages/languages.lua @@ -98,7 +98,7 @@ --define the xml table local xml = {} - --get hte xml + --get the xml table.insert(xml, [[]]); table.insert(xml, [[]]); table.insert(xml, [[
]]); @@ -187,8 +187,8 @@ end --if XML_STRING --send the xml to the console - if (debug["xml_string"]) then - local file = assert(io.open(temp_dir .. "/acl.conf.xml", "w")); + if (debug["xml_string"] and XML_STRING ~= nil) then + local file = assert(io.open(temp_dir .. "/languages.conf.xml", "w")); file:write(XML_STRING); file:close(); end