fix return too soon when no log results
This commit is contained in:
parent
5ad8e90dda
commit
c166b0de0f
|
@ -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']));
|
||||
|
|
Loading…
Reference in New Issue