From 8aadb9ec3c838eba37b8b71610a1e70bc7fef74d Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 21 Jul 2013 21:48:12 -0700 Subject: mail completion issue --- mod/acl.php | 2 +- mod/message.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') 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 ", diff --git a/mod/message.php b/mod/message.php index f5a2101ab..9c6cf75a6 100644 --- a/mod/message.php +++ b/mod/message.php @@ -48,7 +48,7 @@ function message_post(&$a) { $ret = zot_finger($rstr,$channel); - if(! $ret) { + if(! $ret['success']) { notice( t('Unable to lookup recipient.') . EOL); return; } -- cgit v1.2.3