No detections for today

This commit is contained in:
ehpersonal38
2022-07-16 09:42:52 -04:00
parent 8cb02f668b
commit 3ac167808f
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -136,6 +136,9 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse
</table> <?php break;
}
}
if($iterations == 0) {
echo "<h3>No Detections For Today.</h3>";
}
die();
}
+4
View File
@@ -199,6 +199,10 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) {
</table>
<?php
if($iterations == 0) {
echo "<h3>No Detections For Today.</h3>";
}
// don't show the button if there's no more detections to be displayed, we're at the end of the list
if($iterations >= 40 && isset($_GET['display_limit']) && is_numeric($_GET['display_limit'])) { ?>
<center>