diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 0b585946f8..9b5d816046 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1392,7 +1392,7 @@ class Contact } } - If ($only_media) { + if ($only_media) { $condition = DBA::mergeConditions($condition, ["`uri-id` IN (SELECT `uri-id` FROM `post-media` WHERE `type` IN (?, ?, ?))", Post\Media::AUDIO, Post\Media::IMAGE, Post\Media::VIDEO]); }