diff --git a/Classes/Flowpack/SimpleSearch/Domain/Service/SqLiteIndex.php b/Classes/Flowpack/SimpleSearch/Domain/Service/SqLiteIndex.php index e665cf2..8218696 100644 --- a/Classes/Flowpack/SimpleSearch/Domain/Service/SqLiteIndex.php +++ b/Classes/Flowpack/SimpleSearch/Domain/Service/SqLiteIndex.php @@ -158,6 +158,10 @@ public function addToFulltext($fulltext, $identifier) { public function query($query) { $result = $this->connection->query($query); $resultArray = array(); + if ($result === false) { + return $resultArray; + } + while ($resultRow = $result->fetchArray(SQLITE3_ASSOC)) { $resultArray[] = $resultRow; }