summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-battstatus/po
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-10-26 09:49:02 +0200
committerJo-Philipp Wich <jo@mein.io>2022-10-26 15:12:17 +0200
commitca57291bdd3afbeae073ee315305d1ecc57f7f76 (patch)
treefef8871dee55db80a16a4a997b183ffd71bc74c6 /modules/luci-mod-battstatus/po
parent3ec7bff0d1f213b827943b8797309025f4d178f3 (diff)
luci-lua-runtime: ensure proper forwarding of route arguments to cbi action
Ensure that the optional cbi() `config` argument is set to an empty table if unspecified to ensure that the static call argument array is exactly two elements long, otherwise call arguments are shifted and the invoked method might not receive the expected parameter. This fixes, among others, the dispatching of `arcombine()` targets. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-battstatus/po')
0 files changed, 0 insertions, 0 deletions