summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_settings.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-09-06 22:06:11 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-09-06 22:06:11 +0000
commitd4c3cc562345199b8bdb9e2a937bc208ca7218ea (patch)
tree8f536298b762cc419f7cfd617d4a34177d48a53a /usr/local/www/status_rrd_graph_settings.php
parentf52e16645aa5eea70407b9d174ec9696e52e13ce (diff)
downloadpfsense-d4c3cc562345199b8bdb9e2a937bc208ca7218ea.zip
pfsense-d4c3cc562345199b8bdb9e2a937bc208ca7218ea.tar.gz
Correctly use defaults
Diffstat (limited to 'usr/local/www/status_rrd_graph_settings.php')
-rwxr-xr-xusr/local/www/status_rrd_graph_settings.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php
index f9abc51..e8c1b0d 100755
--- a/usr/local/www/status_rrd_graph_settings.php
+++ b/usr/local/www/status_rrd_graph_settings.php
@@ -30,9 +30,9 @@
require("guiconfig.inc");
-$pconfig['enable'] = isset($config['rrd']['enable']);
-$pconfig['category'] = isset($config['rrd']['category']);
-$pconfig['style'] = isset($config['rrd']['style']);
+$pconfig['enable'] = $config['rrd']['enable'];
+$pconfig['category'] = $config['rrd']['category'];
+$pconfig['style'] = $config['rrd']['style'];
$curcat = "settings";
$categories = array('system' => 'System',
OpenPOWER on IntegriCloud