diff --git a/www/lib/CoreLibs/DB/IO.php b/www/lib/CoreLibs/DB/IO.php index 7b1f67bc..540e4a92 100644 --- a/www/lib/CoreLibs/DB/IO.php +++ b/www/lib/CoreLibs/DB/IO.php @@ -2206,7 +2206,7 @@ class IO public function dbGetQueryCalled(string $query): int { $query_hash = $this->dbGetQueryHash($query); - if ($this->query_called[$query_hash]) { + if (!empty($this->query_called[$query_hash])) { return $this->query_called[$query_hash]; } else { return 0;