summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_routes_edit.php
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2010-04-28 12:45:21 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2010-04-28 12:45:21 -0300
commit38fb1109ce44b696676a0704aa62e61eb5cd4b95 (patch)
treee2839bc9ac720767260bf46aca8210a99903342b /usr/local/www/system_routes_edit.php
parente2f0ac59490b8eb907416588d4d058e03f674fdc (diff)
downloadpfsense-38fb1109ce44b696676a0704aa62e61eb5cd4b95.zip
pfsense-38fb1109ce44b696676a0704aa62e61eb5cd4b95.tar.gz
Fixing gettext() implementation for required fields
Diffstat (limited to 'usr/local/www/system_routes_edit.php')
-rwxr-xr-xusr/local/www/system_routes_edit.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php
index 5d2d0f6..b8e7fa0 100755
--- a/usr/local/www/system_routes_edit.php
+++ b/usr/local/www/system_routes_edit.php
@@ -88,7 +88,10 @@ if ($_POST) {
/* input validation */
$reqdfields = explode(" ", "network network_subnet gateway");
- $reqdfieldsn = explode(",", gettext("Destination network,Destination network bit count,Gateway"));
+ $reqdfieldsn = explode(",",
+ gettext("Destination network") . "," .
+ gettext("Destination network bit count") . "," .
+ gettext("Gateway"));
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
OpenPOWER on IntegriCloud