diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-12-21 03:29:04 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-12-21 03:29:04 -0500 |
commit | 7321c93c81634a013937b6716f2ecf7917f5d638 (patch) | |
tree | e83600c8072c2dae4b6d8fd2f25c90e77d8ae404 | |
parent | cf36049547cd4fa2bcfdf6cd755b31a8d0e8d2d0 (diff) | |
download | pfsense-7321c93c81634a013937b6716f2ecf7917f5d638.zip pfsense-7321c93c81634a013937b6716f2ecf7917f5d638.tar.gz |
fix for disabled theme selection
-rwxr-xr-x | usr/local/www/system.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php index 2fd286a..7a4b0be 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -161,7 +161,9 @@ if ($_POST) { update_if_changed("NTP update interval", $config['system']['time-update-interval'], $_POST['timeupdateinterval']); /* pfSense themes */ - update_if_changed("System Theme", $config['theme'], $_POST['theme']); + if (! $g['disablethemeselection']) { + update_if_changed("System Theme", $config['theme'], $_POST['theme']); + } /* XXX - billm: these still need updating after figuring out how to check if they actually changed */ unset($config['system']['dnsserver']); |