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:55 -0300 |
commit | 3adf6f272f1689f124dd6b18e06376866de88268 (patch) | |
tree | 7fe26e94a506067282de222d5037afa82a92d34f /usr/local/www/services_ntpd.php | |
parent | 2e50e5b1fc8ef9b46275163cee2bac7ad87ba14d (diff) | |
download | pfsense-3adf6f272f1689f124dd6b18e06376866de88268.zip pfsense-3adf6f272f1689f124dd6b18e06376866de88268.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'])) |