From: Roland Häder Date: Wed, 14 Dec 2016 09:02:39 +0000 (+0100) Subject: Opps, no && and AND in same line (confusing, thanks to @annando) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cee169997ead59631492a22c78bf7e1df4587677;p=friendica.git Opps, no && and AND in same line (confusing, thanks to @annando) Signed-off-by: Roland Häder --- diff --git a/mod/photo.php b/mod/photo.php index 54c9776bb8..d324818b28 100644 --- a/mod/photo.php +++ b/mod/photo.php @@ -117,7 +117,7 @@ function photo_init(&$a) { intval($resolution) ); - $public = (dbm::is_result($r)) && ($r[0]['allow_cid'] == '') AND ($r[0]['allow_gid'] == '') AND ($r[0]['deny_cid'] == '') AND ($r[0]['deny_gid'] == ''); + $public = (dbm::is_result($r)) AND ($r[0]['allow_cid'] == '') AND ($r[0]['allow_gid'] == '') AND ($r[0]['deny_cid'] == '') AND ($r[0]['deny_gid'] == ''); if (dbm::is_result($r)) { $resolution = $r[0]['scale'];