Project

General

Profile

Actions

Bug #12694

closed

PHP error when clicking Delete on Outbound NAT with no rules selected

Added by Renato Botelho almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Rules / NAT
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

After pressing Delete button without selecting any NAT rule I got a PHP crash as follow:

PHP Errors:
[18-Jan-2022 10:53:05 America/Sao_Paulo] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pfSense/include/www/firewall_nat_out.inc on line 496
Actions

Also available in: Atom PDF