fix condition

This commit is contained in:
Julien Fastré 2023-06-13 15:33:10 +02:00
parent 24049b9dfc
commit 5495b1cb44
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -153,7 +153,7 @@ final readonly class ActivityDocumentACLAwareRepository implements ActivityDocum
);
}
if (null !== $content or '' !== $content) {
if (null !== $content and '' !== $content) {
$query->addWhereClause(
'stored_obj.title ilike ?',
['%' . $content . '%'],