]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Fix warnings about unexpected parameter array values type in ACL::getFullSelectorHTML
[friendica.git] / mod / photos.php
index 684e525d4376b3d04521eac10ba32612a3eaa4b2..2f3e7d3117cde88b03989d9ac16dde3411ae5429 100644 (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'],