summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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