diff options
author | friendica <info@friendica.com> | 2014-02-12 15:12:42 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-12 15:12:42 -0800 |
commit | c7dda0c4c161b347c41f11bc8c6af266f08a89a3 (patch) | |
tree | 3e15254f7db7af02d4d6dfd6b5e98b91f5373696 | |
parent | 11e6530d7fc6a14c50bf1b7776f40a2b6ee571f0 (diff) | |
download | volse-hubzilla-c7dda0c4c161b347c41f11bc8c6af266f08a89a3.tar.gz volse-hubzilla-c7dda0c4c161b347c41f11bc8c6af266f08a89a3.tar.bz2 volse-hubzilla-c7dda0c4c161b347c41f11bc8c6af266f08a89a3.zip |
return the expected array
-rw-r--r-- | include/identity.php | 6 |
1 files changed, 3 insertions, 3 deletions
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)) ); |