diff options
author | Phil Davis <phil.davis@inf.org> | 2016-06-23 11:20:45 +0930 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-06-23 13:33:21 -0400 |
commit | 0f6e77fd7029942b15f52a5d8cdc55365fa8d445 (patch) | |
tree | 85f481112c3311f19c01dfc1d455d31e69afc25f | |
parent | dbf01363a86c0054dfd278f64e76049ed35a7b5e (diff) | |
download | pfsense-0f6e77fd7029942b15f52a5d8cdc55365fa8d445.zip pfsense-0f6e77fd7029942b15f52a5d8cdc55365fa8d445.tar.gz |
Load actual value of webguihostnamemenu
This is a string from a list of valid values (empty, "hostonly", "fqdn"). So it is not correct to just gather a true/false value here.
(cherry picked from commit e93242eb2ad5a45fb6ab1526f0b6ddcc716e5b96)
-rw-r--r-- | src/usr/local/www/system.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php index 0ed93bf..ea251f5 100644 --- a/src/usr/local/www/system.php +++ b/src/usr/local/www/system.php @@ -97,7 +97,7 @@ $pconfig['dashboardavailablewidgetspanel'] = isset($config['system']['webgui'][' $pconfig['systemlogsfilterpanel'] = isset($config['system']['webgui']['systemlogsfilterpanel']); $pconfig['systemlogsmanagelogpanel'] = isset($config['system']['webgui']['systemlogsmanagelogpanel']); $pconfig['statusmonitoringsettingspanel'] = isset($config['system']['webgui']['statusmonitoringsettingspanel']); -$pconfig['webguihostnamemenu'] = isset($config['system']['webgui']['webguihostnamemenu']); +$pconfig['webguihostnamemenu'] = $config['system']['webgui']['webguihostnamemenu']; $pconfig['dnslocalhost'] = isset($config['system']['dnslocalhost']); if (!$pconfig['timezone']) { |