mirror of
https://github.com/friendica/friendica
synced 2024-11-19 03:03:41 +00:00
Fix fatal error (TypeError)
This commit is contained in:
parent
d6ed0068e6
commit
c514da1738
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue