From b5ba9c3741d7e554463035e623b7d7e52c84d1fb Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Sat, 10 Jun 2023 21:51:09 +0300 Subject: luci-app-firewall: missing variable declaration Signed-off-by: Sergey Ponomarev --- .../htdocs/luci-static/resources/view/firewall/rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js') diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js index 018554e991..156992caf0 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js @@ -22,7 +22,7 @@ function rule_proto_txt(s, ctHelpers) { }; }); - m = String(uci.get('firewall', s, 'helper') || '').match(/^(!\s*)?(\S+)$/); + var m = String(uci.get('firewall', s, 'helper') || '').match(/^(!\s*)?(\S+)$/); var h = m ? { val: m[0].toUpperCase(), inv: m[1], -- cgit v1.2.3