aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2015-02-18 11:48:05 +0100
committerzottel <github@zottel.net>2015-02-18 11:48:05 +0100
commitd0fe0b5d5f8e2210297458f18884694d66aec8d9 (patch)
tree730f02cea6b9c5dec782ed49392dab2e346c8cd6 /include
parent9d745cd072d3f13e968776f190dd4f7814ae92eb (diff)
downloadvolse-hubzilla-d0fe0b5d5f8e2210297458f18884694d66aec8d9.tar.gz
volse-hubzilla-d0fe0b5d5f8e2210297458f18884694d66aec8d9.tar.bz2
volse-hubzilla-d0fe0b5d5f8e2210297458f18884694d66aec8d9.zip
fix parens mismatch from last commit
Diffstat (limited to 'include')
-rw-r--r--include/zot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index 3b22fde70..98b54a04c 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1315,9 +1315,9 @@ function public_recips($msg) {
if($msg['notify']['sender']['url'] === z_root())
- $sql = " where (( " . $col . " & " . PERMS_NETWORK . " )>0 or ( " . $col . " & " . PERMS_SITE . " )>0 or ( " . $col . " & " . PERMS_PUBLIC . ")>0) or ( " . $col . " & " . PERMS_AUTHED . ")>0) ";
+ $sql = " where (( " . $col . " & " . PERMS_NETWORK . " )>0 or ( " . $col . " & " . PERMS_SITE . " )>0 or ( " . $col . " & " . PERMS_PUBLIC . ")>0 or ( " . $col . " & " . PERMS_AUTHED . ")>0) ";
else
- $sql = " where (( " . $col . " & " . PERMS_NETWORK . " )>0 or ( " . $col . " & " . PERMS_PUBLIC . ")>0) or ( " . $col . " & " . PERMS_AUTHED . ")>0) ";
+ $sql = " where (( " . $col . " & " . PERMS_NETWORK . " )>0 or ( " . $col . " & " . PERMS_PUBLIC . ")>0 or ( " . $col . " & " . PERMS_AUTHED . ")>0) ";
$r = q("select channel_hash as hash from channel $sql or channel_hash = '%s' ",