Fix bug with ACL and contact network page
- Require user array parameter in ACL::getFullSelectorHTML - Change all wrong uses where user array was replaced by default permissions array
This commit is contained in:
parent
1283b99c6f
commit
ea17370211
4 changed files with 19 additions and 18 deletions
|
@ -1408,7 +1408,7 @@ function photos_content(App $a)
|
|||
|
||||
$album_e = $ph[0]['album'];
|
||||
$caption_e = $ph[0]['desc'];
|
||||
$aclselect_e = ACL::getFullSelectorHTML($ph[0]);
|
||||
$aclselect_e = ACL::getFullSelectorHTML($a->user, false, $ph[0]);
|
||||
|
||||
$edit = replace_macros($edit_tpl, [
|
||||
'$id' => $ph[0]['id'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue