summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-10-25 08:12:51 +0545
committerPhil Davis <phil.davis@inf.org>2015-10-25 08:12:51 +0545
commit139cc9df98de045e9e54400eed2e757fac747a8e (patch)
treec3c5433b0dab7659ddfdb44f55a74ddca90d9c1b /usr/local
parentadd49a3a21e58bcc531e2f0a2ff816c7a8e825a8 (diff)
downloadpfsense-139cc9df98de045e9e54400eed2e757fac747a8e.zip
pfsense-139cc9df98de045e9e54400eed2e757fac747a8e.tar.gz
Fix multi-lingual save of NAT mode Redmine # for RELENG_2_2
and forum https://forum.pfsense.org/index.php?topic=101276.0
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/firewall_nat_out.php2
1 files changed, 1 insertions, 1 deletions
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")) {
/*
OpenPOWER on IntegriCloud