mirror of
https://github.com/friendica/friendica
synced 2024-11-18 11:43:41 +00:00
Update src/Model/Contact.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
c822cdaebd
commit
a2f5190bdb
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue