summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_ntpd.php
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:29 -0300
commit5a27b146335d174321fe9b46b45e3c4cb9bc8743 (patch)
treeb8105be18bf759523d81bf223d61a4599e75e1cf /usr/local/www/services_ntpd.php
parent88a5ad7eea2d9c09187bf210e556a37ded89b8b6 (diff)
downloadpfsense-5a27b146335d174321fe9b46b45e3c4cb9bc8743.zip
pfsense-5a27b146335d174321fe9b46b45e3c4cb9bc8743.tar.gz
isset is a better check here
Diffstat (limited to 'usr/local/www/services_ntpd.php')
-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