mirror of
https://github.com/lxsang/silk.git
synced 2025-07-13 06:04:27 +02:00
fix nil check in order statement parsing
All checks were successful
gitea-sync/silk/pipeline/head This commit looks good
All checks were successful
gitea-sync/silk/pipeline/head This commit looks good
This commit is contained in:
@ -127,6 +127,7 @@ function SQLQueryGenerator:sql_fields()
|
||||
end
|
||||
|
||||
function SQLQueryGenerator:sql_order()
|
||||
if not self.order then return nil end
|
||||
local tb = {}
|
||||
for k, v in ipairs(self.order) do
|
||||
local arr = explode(v, "$")
|
||||
|
Reference in New Issue
Block a user