summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-11-20 21:00:02 +0545
committerPhil Davis <phil.davis@inf.org>2015-11-20 21:00:02 +0545
commitf0a9dec454e2018242de9e9a48cf8b558e7ea580 (patch)
tree41ccba4a1e028d7dae027ea25af76ede7aefbe00 /src
parent31194ebda4682437a3b0ddc287b1f60eab1e18ed (diff)
downloadpfsense-f0a9dec454e2018242de9e9a48cf8b558e7ea580.zip
pfsense-f0a9dec454e2018242de9e9a48cf8b558e7ea580.tar.gz
Better test for webguicss being not set
As discussed in https://github.com/pfsense/pfsense/pull/2094
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php
index 4617bd6..2a460b9 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -467,7 +467,7 @@ foreach ($css as $file) {
}
}
-if (($pconfig['webguicss'] == "") || (!isset($csslist[$pconfig['webguicss']]))) {
+if (!isset($pconfig['webguicss']) || !isset($csslist[$pconfig['webguicss']])) {
$pconfig['webguicss'] = "pfSense.css";
}
OpenPOWER on IntegriCloud