diff --git a/scripts/overview.php b/scripts/overview.php index 7f41c1c..9cf96d4 100644 --- a/scripts/overview.php +++ b/scripts/overview.php @@ -224,7 +224,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse } } if($iterations == 0) { - if($todaycount > 0) { + if($todaycount['COUNT(*)'] > 0) { echo "