Fix warnings about unexpected parameter array values type in ACL::getFullSelectorHTML

- Addresses https://github.com/friendica/friendica/issues/7676#issuecomment-560503744
This commit is contained in:
Hypolite Petovan 2019-12-03 06:59:51 -05:00
commit f989c331a3
3 changed files with 12 additions and 13 deletions

View file

@ -1332,7 +1332,7 @@ function photos_content(App $a)
$album_e = $ph[0]['album'];
$caption_e = $ph[0]['desc'];
$aclselect_e = ACL::getFullSelectorHTML($a->page, $a->user, false, $ph[0]);
$aclselect_e = ACL::getFullSelectorHTML($a->page, $a->user, false, ACL::getDefaultUserPermissions($ph[0]));
$edit = Renderer::replaceMacros($edit_tpl, [
'$id' => $ph[0]['id'],