Update mod/display.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
d8447469b6
commit
6a444d8e13
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
$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'];
|
$page_uid = $page_uid ?? 0 ?: $parent['uid'];
|
||||||
$is_remote_contact = Session::getRemoteContactID($page_uid);
|
$is_remote_contact = Session::getRemoteContactID($page_uid);
|
||||||
if ($is_remote_contact) {
|
if ($is_remote_contact) {
|
||||||
|
|
Loading…
Reference in a new issue