]> git.mxchange.org Git - friendica.git/commitdiff
Update mod/display.php
authorMichael Vogel <icarus@dabo.de>
Fri, 1 Oct 2021 14:28:33 +0000 (16:28 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Oct 2021 14:28:33 +0000 (16:28 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
mod/display.php

index d854be45e2e2dccf504c5bf307795d280e5421d3..87775126e6909dac91b7de9dfe21c084400ada3d 100644 (file)
@@ -250,7 +250,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
                $parent = Post::selectFirst(['uid'], ['uri-id' => $parent_uri_id, 'wall' => true]);
        }
 
-       if (!local_user() && DBA::isResult($parent)) {
+       if (DBA::isResult($parent)) {
                $page_uid = $page_uid ?? 0 ?: $parent['uid'];
                $is_remote_contact = Session::getRemoteContactID($page_uid);
                if ($is_remote_contact) {