sforkowany z mirror/friendica
Merge pull request #8445 from annando/issue-8371-again
Issue 8371: Use correct user id for photo upload2022.09-rc
commit
bfa598bb77
|
@ -461,7 +461,7 @@ function item_post(App $a) {
|
||||||
|
|
||||||
$match = null;
|
$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;
|
$objecttype = Activity\ObjectType::IMAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue