From 139cc9df98de045e9e54400eed2e757fac747a8e Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sun, 25 Oct 2015 08:12:51 +0545 Subject: Fix multi-lingual save of NAT mode Redmine # for RELENG_2_2 and forum https://forum.pfsense.org/index.php?topic=101276.0 --- usr/local/www/firewall_nat_out.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 96d7a7b..eac4b5d 100644 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -78,7 +78,7 @@ if ($_POST['apply']) { } } -if (isset($_POST['save']) && $_POST['save'] == "Save") { +if (isset($_POST['save']) && $_POST['save'] == gettext("Save")) { /* mutually exclusive settings - if user wants advanced NAT, we don't generate automatic rules */ if ($_POST['mode'] == "advanced" && ($mode == "automatic" || $mode == "hybrid")) { /* -- cgit v1.1