libs/web: fix file caches in dispatcher, broke when introducing lua-gz support
[project/luci.git] / libs / web / luasrc / dispatcher.lua
index 519473e..73daeaf 100644 (file)
@@ -390,7 +390,7 @@ end
 function createindex_plain(path, suffixes)
        local controllers = { }
        for _, suffix in ipairs(suffixes) do
-               util.combine(
+               controllers = util.combine(
                        controllers,
                        luci.fs.glob(path .. "*" .. suffix) or {},
                        luci.fs.glob(path .. "*/*" .. suffix) or {}