summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-24 15:40:29 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-02-24 15:40:55 -0300
commit3adf6f272f1689f124dd6b18e06376866de88268 (patch)
tree7fe26e94a506067282de222d5037afa82a92d34f /usr/local
parent2e50e5b1fc8ef9b46275163cee2bac7ad87ba14d (diff)
downloadpfsense-3adf6f272f1689f124dd6b18e06376866de88268.zip
pfsense-3adf6f272f1689f124dd6b18e06376866de88268.tar.gz
isset is a better check here
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/services_ntpd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php
index fb7820f..05cc0a1 100644
--- a/usr/local/www/services_ntpd.php
+++ b/usr/local/www/services_ntpd.php
@@ -154,7 +154,7 @@ if ($_POST) {
$config['ntpd']['statsgraph'] = $_POST['statsgraph'];
elseif (isset($config['ntpd']['statsgraph']))
unset($config['ntpd']['statsgraph']);
- if (!empty($enable_rrd_graphing))
+ if (isset($enable_rrd_graphing))
enable_rrd_graphing();
if (!empty($_POST['leaptxt']))
OpenPOWER on IntegriCloud