Possibly fix a memory issue with large posts
This commit is contained in:
parent
f9bda66e29
commit
cced018825
2 changed files with 14 additions and 2 deletions
|
@ -291,6 +291,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
|
|||
|
||||
$parent = Item::selectFirst(['uid'], ['uri' => $item_parent_uri, 'wall' => true]);
|
||||
if (DBA::isResult($parent)) {
|
||||
$a->profile['uid'] = $parent['uid'];
|
||||
$a->profile['profile_uid'] = $parent['uid'];
|
||||
$is_remote_contact = Contact::isFollower(remote_user(), $a->profile['profile_uid']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue