1
1
Fork 0

Fix fatal error (TypeError)

This commit is contained in:
Michael 2020-03-09 08:59:56 +00:00
parent d6ed0068e6
commit c514da1738

View file

@ -150,7 +150,7 @@ class Photo
$uid = $r["uid"];
$accessible = $uid ? DI::pConfig()->get($uid, 'system', 'accessible-photos') : false;
$accessible = $uid ? (bool)DI::pConfig()->get($uid, 'system', 'accessible-photos', false) : false;
$sql_acl = Security::getPermissionsSQLByUserId($uid, $accessible);