From 3adf6f272f1689f124dd6b18e06376866de88268 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 24 Feb 2015 15:40:29 -0300 Subject: isset is a better check here --- usr/local/www/services_ntpd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') 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'])) -- cgit v1.1