mirror of
https://github.com/friendica/friendica
synced 2024-11-18 04:23:41 +00:00
Merge pull request #6332 from annando/assign-uid
Only assign a uid to the profile if not defined by now
This commit is contained in:
commit
c07fa5d069
1 changed files with 2 additions and 2 deletions
|
@ -291,8 +291,8 @@ 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'];
|
||||
$a->profile['uid'] = defaults($a->profile, 'uid', $parent['uid']);
|
||||
$a->profile['profile_uid'] = defaults($a->profile, 'profile_uid', $parent['uid']);
|
||||
$is_remote_contact = Contact::isFollower(remote_user(), $a->profile['profile_uid']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue