summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/classes
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-06-23 12:23:16 +0930
committerChris Buechler <cmb@pfsense.org>2016-06-30 00:20:56 -0500
commit595b074d146b0e6930b9693239fe7e038e11044b (patch)
treed50dba9d68b5f7d592960e6ec4b26eba0a54ef9a /src/usr/local/www/classes
parenta77ed90de38d98d951ce7a468aa3af0be2ef0c88 (diff)
downloadpfsense-595b074d146b0e6930b9693239fe7e038e11044b.zip
pfsense-595b074d146b0e6930b9693239fe7e038e11044b.tar.gz
Feature #6388 custom GUI preference settings per user
Diffstat (limited to 'src/usr/local/www/classes')
-rw-r--r--src/usr/local/www/classes/Form/Group.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/classes/Form/Group.class.php b/src/usr/local/www/classes/Form/Group.class.php
index d07010a..813ace9 100644
--- a/src/usr/local/www/classes/Form/Group.class.php
+++ b/src/usr/local/www/classes/Form/Group.class.php
@@ -108,7 +108,7 @@ EOT;
public function __toString()
{
- global $config;
+ global $config, $user_settings;
$element = parent::__toString();
@@ -142,7 +142,7 @@ EOT;
$inputs = implode('', $this->_inputs);
$help = $this->_getHelp();
- if (!isset($config['system']['webgui']['webguileftcolumnhyper']))
+ if (!$user_settings['webgui']['webguileftcolumnhyper'])
$target = null;
$label = new Form_Element('label', false, ['for' => $target]);
OpenPOWER on IntegriCloud