mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
Merge pull request #8390 from annando/fix-fatal
Fix fatal error (TypeError)
This commit is contained in:
commit
50c2cb6535
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class Photo
|
||||||
|
|
||||||
$uid = $r["uid"];
|
$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);
|
$sql_acl = Security::getPermissionsSQLByUserId($uid, $accessible);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue