summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system.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.php
parente2f0ac59490b8eb907416588d4d058e03f674fdc (diff)
downloadpfsense-38fb1109ce44b696676a0704aa62e61eb5cd4b95.zip
pfsense-38fb1109ce44b696676a0704aa62e61eb5cd4b95.tar.gz
Fixing gettext() implementation for required fields
Diffstat (limited to 'usr/local/www/system.php')
-rwxr-xr-xusr/local/www/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index 0398924..7344587 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -106,7 +106,7 @@ if ($_POST) {
/* input validation */
$reqdfields = split(" ", "hostname domain");
- $reqdfieldsn = split(",", "Hostname,Domain");
+ $reqdfieldsn = array(gettext("Hostname"),gettext("Domain"));
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
OpenPOWER on IntegriCloud