fix return too soon when no log results

This commit is contained in:
Andrew Bauer 2021-01-02 16:33:56 -06:00
parent 5ad8e90dda
commit c166b0de0f
1 changed files with 0 additions and 3 deletions

View File

@ -165,9 +165,6 @@ function queryRequest() {
$rows = array(); $rows = array();
$results = dbFetchAll($query['sql'], NULL, $query['values']); $results = dbFetchAll($query['sql'], NULL, $query['values']);
if ( !$results ) {
return $data;
}
foreach ( $results as $row ) { foreach ( $results as $row ) {
$row['DateTime'] = strftime('%Y-%m-%d %H:%M:%S', intval($row['TimeKey'])); $row['DateTime'] = strftime('%Y-%m-%d %H:%M:%S', intval($row['TimeKey']));