From 327850e1b08d3b19bc366bbbd5c9959d214b5891 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 13 Oct 2020 22:18:56 +0200 Subject: [PATCH] firewall_nat_edit.php fix "PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/firewall_nat_edit.php on line 542" when interface is missing, closes https://github.com/opnsense/core/pull/4407 --- src/www/firewall_nat_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_nat_edit.php b/src/www/firewall_nat_edit.php index 8388052b3..dec89b08d 100644 --- a/src/www/firewall_nat_edit.php +++ b/src/www/firewall_nat_edit.php @@ -539,7 +539,7 @@ $( document ).ready(function() {