From 7321c93c81634a013937b6716f2ecf7917f5d638 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 21 Dec 2009 03:29:04 -0500 Subject: fix for disabled theme selection --- usr/local/www/system.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr/local/www/system.php') 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']); -- cgit v1.1