From c7dda0c4c161b347c41f11bc8c6af266f08a89a3 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 12 Feb 2014 15:12:42 -0800 Subject: return the expected array --- include/identity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/identity.php') diff --git a/include/identity.php b/include/identity.php index 12eeb47ac..627e808ea 100644 --- a/include/identity.php +++ b/include/identity.php @@ -1154,11 +1154,11 @@ function is_member($s) { function get_online_status($nick) { - if(get_config('system','block_public') && ! local_user() && ! remote_user()) - return; - $ret = array('result' => false); + if(get_config('system','block_public') && ! local_user() && ! remote_user()) + return $ret; + $r = q("select channel_id, channel_hash from channel where channel_address = '%s' limit 1", dbesc(argv(1)) ); -- cgit v1.2.3