mirror of
https://github.com/lxsang/silk.git
synced 2024-11-14 01:08:22 +01: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:
parent
86538b8913
commit
eae3ae7b14
@ -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, "$")
|
||||
|
Loading…
Reference in New Issue
Block a user