summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-26 07:36:40 -0200
committerRenato Botelho <renato@netgate.com>2015-10-26 07:36:40 -0200
commit487235f366ad1dc2f88520e96185c3da4b512e7a (patch)
tree91fdf7377812fd54111d10efbfbf05efc1be7f7c /src
parent11547f3dab7ec1294f341978c08ce7801318ab2c (diff)
parenta2cae98ffde8eba0bad137ba0099dec901632595 (diff)
downloadpfsense-487235f366ad1dc2f88520e96185c3da4b512e7a.zip
pfsense-487235f366ad1dc2f88520e96185c3da4b512e7a.tar.gz
Merge pull request #1985 from phil-davis/patch-5
Diffstat (limited to 'src')
-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