diff --git a/modules/luci-lua-runtime/luasrc/dispatcher.lua b/modules/luci-lua-runtime/luasrc/dispatcher.lua index 8889853b98..7859ba17a3 100644 --- a/modules/luci-lua-runtime/luasrc/dispatcher.lua +++ b/modules/luci-lua-runtime/luasrc/dispatcher.lua @@ -392,7 +392,7 @@ function cbi(model, config) ["type"] = "call", ["module"] = "luci.dispatcher", ["function"] = "invoke_cbi_action", - ["parameters"] = { model, config }, + ["parameters"] = { model, config or {} }, ["post"] = { ["cbi.submit"] = true }