]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Model/Contact.php
authorMichael Vogel <icarus@dabo.de>
Fri, 8 Apr 2022 11:59:43 +0000 (13:59 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Apr 2022 11:59:43 +0000 (13:59 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Model/Contact.php

index df1a25cd7d81ef0a966b74a6821059b87f5dbaef..e23fa316991a2e623279ab6d46dba9182ceb3857 100644 (file)
@@ -1477,7 +1477,7 @@ class Contact
                                        $condition = ["`uri-id` IN (SELECT `uri-id` FROM `collection-view` WHERE `cid` = ?)", $cdata['public']];
                                        $pinned = Post::toArray(Post::selectForUser(local_user(), $fields, $condition, $params));
                                        $items = array_merge($pinned, $items);
-                                       }
+                               }
                        }
 
                        $o .= DI::conversation()->create($items, 'contact-posts', $update);