fix backlog message showing when it shouldn't

This commit is contained in:
ehpersonal38
2023-04-17 10:51:27 -04:00
parent 628552285c
commit 91d2a60421
+1 -1
View File
@@ -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 "<h3>Your system is currently processing a backlog of audio. This can take several hours before normal functionality of your BirdNET-Pi resumes.</h3>";
} else {
echo "<h3>No Detections For Today.</h3>";