aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-03 16:24:30 -0800
committerfriendica <info@friendica.com>2013-01-03 16:24:30 -0800
commitacc1dfa7731fd65a6a1607c0fd1b6b5eeb31fe1b (patch)
treec630a3dccf9c59c0bcc0f550f08d3099178a5771 /mod
parent72da7ceba4cee5004ae8ee0e64455e268480ba55 (diff)
downloadvolse-hubzilla-acc1dfa7731fd65a6a1607c0fd1b6b5eeb31fe1b.tar.gz
volse-hubzilla-acc1dfa7731fd65a6a1607c0fd1b6b5eeb31fe1b.tar.bz2
volse-hubzilla-acc1dfa7731fd65a6a1607c0fd1b6b5eeb31fe1b.zip
stray paren in sql
Diffstat (limited to 'mod')
-rw-r--r--mod/connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/connections.php b/mod/connections.php
index f17210fac..b8cfb5daa 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -150,7 +150,7 @@ function connections_content(&$a) {
$cmd = argv(2);
$orig_record = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook_xchan = xchan_hash
- WHERE abook_id = %d AND abook_channel = %d AND NOT ( abook_flags & %d ) and not abook_flags & %d) LIMIT 1",
+ WHERE abook_id = %d AND abook_channel = %d AND NOT ( abook_flags & %d ) and not ( abook_flags & %d ) LIMIT 1",
intval($contact_id),
intval(local_user()),
intval(ABOOK_FLAG_SELF),