From c166b0de0f30525748cf61a957bc8412fc2f2525 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 2 Jan 2021 16:33:56 -0600 Subject: [PATCH] fix return too soon when no log results --- web/ajax/log.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/ajax/log.php b/web/ajax/log.php index 60f0c1dc4..7dfb11d6a 100644 --- a/web/ajax/log.php +++ b/web/ajax/log.php @@ -165,9 +165,6 @@ function queryRequest() { $rows = array(); $results = dbFetchAll($query['sql'], NULL, $query['values']); - if ( !$results ) { - return $data; - } foreach ( $results as $row ) { $row['DateTime'] = strftime('%Y-%m-%d %H:%M:%S', intval($row['TimeKey']));