Fix setting permisson as post for uploaded photo in album via modal create post
This commit is contained in:
parent
22fedc9a1a
commit
7c690c93bb
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ function item_post(App $a) {
|
||||||
|
|
||||||
$fields = ['allow_cid' => $str_contact_allow, 'allow_gid' => $str_group_allow,
|
$fields = ['allow_cid' => $str_contact_allow, 'allow_gid' => $str_group_allow,
|
||||||
'deny_cid' => $str_contact_deny, 'deny_gid' => $str_group_deny];
|
'deny_cid' => $str_contact_deny, 'deny_gid' => $str_group_deny];
|
||||||
$condition = ['resource-id' => $image_uri, 'uid' => $profile_uid, 'album' => L10n::t('Wall Photos')];
|
$condition = ['resource-id' => $image_uri, 'uid' => $profile_uid];
|
||||||
DBA::update('photo', $fields, $condition);
|
DBA::update('photo', $fields, $condition);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue