From 9bdd049c5f4256d662b3c3d5e9fca94767423256 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Tue, 19 Apr 2022 11:30:13 -0400 Subject: [PATCH] Update overview.php --- scripts/overview.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/overview.php b/scripts/overview.php index 4eba52d..d7007da 100644 --- a/scripts/overview.php +++ b/scripts/overview.php @@ -73,6 +73,8 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse die(); } +if(isset($_GET['ajax_left_chart']) && $_GET['ajax_left_chart'] == "true") { + $totalcount = 0; $todaycount = 0; $hourcount = 0; @@ -107,9 +109,7 @@ if($statement6 == False) { } $result6 = $statement6->execute(); $totalspeciestally = $result6->fetchArray(SQLITE3_ASSOC); - - -if(isset($_GET['ajax_left_chart']) && $_GET['ajax_left_chart'] == "true") { + ?>