diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-02-24 15:40:29 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-24 15:40:29 -0300 |
commit | 5a27b146335d174321fe9b46b45e3c4cb9bc8743 (patch) | |
tree | b8105be18bf759523d81bf223d61a4599e75e1cf /usr/local/www/services_ntpd.php | |
parent | 88a5ad7eea2d9c09187bf210e556a37ded89b8b6 (diff) | |
download | pfsense-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.php | 2 |
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'])) |