Fix. `unpack` moved to `table` in Lua 5.2

This commit is contained in:
Alexey Melnichuk 2016-02-20 15:22:28 +03:00
parent a33230db15
commit e784cb3d6f
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ local log = require "resources.functions.log".database
local BACKEND = xml_handler and xml_handler.db_backend or 'native'
local unpack = unpack or table.unpack
-----------------------------------------------------------
local installed_classes = {}
local default_backend = FsDatabase