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 "

Your system is currently processing a backlog of audio. This can take several hours before normal functionality of your BirdNET-Pi resumes.

"; } else { echo "

No Detections For Today.

";