aboutsummaryrefslogtreecommitdiffstats
path: root/mod/acl.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-21 21:48:12 -0700
committerfriendica <info@friendica.com>2013-07-21 21:48:12 -0700
commit8aadb9ec3c838eba37b8b71610a1e70bc7fef74d (patch)
tree80274a8f284d9cf2e979dd8bb3de23069b9c8f8e /mod/acl.php
parent9b8e3e41f1b582f3eb0ff70edd0e22b7fb9b4e89 (diff)
downloadvolse-hubzilla-8aadb9ec3c838eba37b8b71610a1e70bc7fef74d.tar.gz
volse-hubzilla-8aadb9ec3c838eba37b8b71610a1e70bc7fef74d.tar.bz2
volse-hubzilla-8aadb9ec3c838eba37b8b71610a1e70bc7fef74d.zip
mail completion issue
Diffstat (limited to 'mod/acl.php')
-rw-r--r--mod/acl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/acl.php b/mod/acl.php
index 382d9d90c..48bc1f5fd 100644
--- a/mod/acl.php
+++ b/mod/acl.php
@@ -61,7 +61,7 @@ function acl_init(&$a){
// autocomplete for Private Messages
- $r = q("SELECT count xchan_hash as c
+ $r = q("SELECT count(xchan_hash) as c
FROM abook left join xchan on abook_xchan = xchan_hash
WHERE abook_channel = %d and ( (abook_their_perms = null) or (abook_their_perms & %d ))
$sql_extra2 ",