aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xnotYetAnotherWiki.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index 55953cd..01d14f1 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -227,7 +227,7 @@ for name, file in pairs(Files) do
227 for i, f in pairs(Subs[path].subs) do 227 for i, f in pairs(Subs[path].subs) do
228 table.insert(subs, f) 228 table.insert(subs, f)
229 end 229 end
230 table.sort(subs) 230 table.sort(subs, function(a, b) return (a <= b) end)
231 for i, f in ipairs(subs) do 231 for i, f in ipairs(subs) do
232 local pth = path 232 local pth = path
233 if '' ~= path then pth = path .. '/' end 233 if '' ~= path then pth = path .. '/' end