logic inverted
This commit is contained in:
parent
148f4e8795
commit
f64abf3ad8
@ -51,7 +51,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
|
|||||||
|
|
||||||
if($arr['channel']['success'])
|
if($arr['channel']['success'])
|
||||||
$ret = $arr['channel'];
|
$ret = $arr['channel'];
|
||||||
elseif($is_http)
|
elseif(! $is_http)
|
||||||
$ret = zot_finger($url,$channel);
|
$ret = zot_finger($url,$channel);
|
||||||
|
|
||||||
if($ret && $ret['success']) {
|
if($ret && $ret['success']) {
|
||||||
|
Reference in New Issue
Block a user