summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-10-25 08:16:17 +0545
committerPhil Davis <phil.davis@inf.org>2015-10-25 08:16:17 +0545
commita2cae98ffde8eba0bad137ba0099dec901632595 (patch)
tree16fec7df8cce7e18695a367f4c74677b7d4227c5 /src/usr/local/www/firewall_nat_out.php
parentdea1f29f898bcb96cf6432ada4b368880a8e1c77 (diff)
downloadpfsense-a2cae98ffde8eba0bad137ba0099dec901632595.zip
pfsense-a2cae98ffde8eba0bad137ba0099dec901632595.tar.gz
Fix multi-lingual save of NAT mode Redmine #5342 for master
Diffstat (limited to 'src/usr/local/www/firewall_nat_out.php')
-rw-r--r--src/usr/local/www/firewall_nat_out.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_nat_out.php b/src/usr/local/www/firewall_nat_out.php
index 2c8f22c..27b805b 100644
--- a/src/usr/local/www/firewall_nat_out.php
+++ b/src/usr/local/www/firewall_nat_out.php
@@ -129,7 +129,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")) {
/*
@@ -690,4 +690,4 @@ events.push(function() {
});
</script>
-<?php include("foot.inc"); \ No newline at end of file
+<?php include("foot.inc");
OpenPOWER on IntegriCloud