From a4166b1e88147850aae6030e04465d94f5e0f253 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 26 May 2026 01:40:23 +0300 Subject: [PATCH] luci-app-frpc: correctness fixes Signed-off-by: Paul Donald --- .../luci-app-frpc/htdocs/luci-static/resources/view/frpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js index 218e04cd74..0ec1037ea4 100644 --- a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js +++ b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js @@ -104,7 +104,7 @@ function setParams(o, params) { const d = {}; for (let vkey in v) d[vkey] = v[vkey]; - for (let od of o.deps) { + for (let od of (o.deps || [])) { for (let dkey in od) { d[dkey] = od[dkey]; }