From cee169997ead59631492a22c78bf7e1df4587677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Wed, 14 Dec 2016 10:02:39 +0100 Subject: [PATCH] Opps, no && and AND in same line (confusing, thanks to @annando) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- mod/photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];