mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Issue 8371: Use correct user id for photo upload
This commit is contained in:
parent
7bc4427c09
commit
8bde222fca
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ function item_post(App $a) {
|
|||
|
||||
$match = null;
|
||||
|
||||
if (!$preview && Photo::setPermissionFromBody($body, $profile_uid, $original_contact_id, $str_contact_allow, $str_group_allow, $str_contact_deny, $str_group_deny)) {
|
||||
if (!$preview && Photo::setPermissionFromBody($body, $uid, $original_contact_id, $str_contact_allow, $str_group_allow, $str_contact_deny, $str_group_deny)) {
|
||||
$objecttype = Activity\ObjectType::IMAGE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue