summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-18 10:32:22 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-18 10:32:22 -0300
commitf4b759123931a4891e4557d44d74e0bb0cb5bfaa (patch)
treeedb41e2f034ba8e8c54e451663dab9d09b1101f3
parent5847917c85ed5513bf24da0637a30851dd399abf (diff)
parentf1a347906c4d87e40d784accf9700cce566b6d9c (diff)
downloadpfsense-f4b759123931a4891e4557d44d74e0bb0cb5bfaa.zip
pfsense-f4b759123931a4891e4557d44d74e0bb0cb5bfaa.tar.gz
Merge pull request #1235 from N0YB/Mixed_Case_Hostname
-rw-r--r--usr/local/www/system.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index f907de9..c5cfe52 100644
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -169,8 +169,8 @@ if ($_POST) {
}
if (!$input_errors) {
- update_if_changed("hostname", $config['system']['hostname'], strtolower($_POST['hostname']));
- update_if_changed("domain", $config['system']['domain'], strtolower($_POST['domain']));
+ update_if_changed("hostname", $config['system']['hostname'], $_POST['hostname']);
+ update_if_changed("domain", $config['system']['domain'], $_POST['domain']);
update_if_changed("timezone", $config['system']['timezone'], $_POST['timezone']);
update_if_changed("NTP servers", $config['system']['timeservers'], strtolower($_POST['timeservers']));
OpenPOWER on IntegriCloud