diff --git a/src/Util/DatabaseUtil/CreateWhereForSerializedBlobResult.php b/src/Util/DatabaseUtil/CreateWhereForSerializedBlobResult.php index dada3e99..d72706e3 100644 --- a/src/Util/DatabaseUtil/CreateWhereForSerializedBlobResult.php +++ b/src/Util/DatabaseUtil/CreateWhereForSerializedBlobResult.php @@ -15,7 +15,7 @@ public function __construct( */ public function createInlineAndWhere(): string { - return '('.$this->field.' REGEXP (\''.implode("'\) OR ".$this->field.' REGEXP (\'', $this->getValueList()).'\'))'; + return '('.$this->field.' REGEXP (\''.implode('\') AND '.$this->field.' REGEXP (\'', $this->getValueList()).'\'))'; } /**