logic inverted

This commit is contained in:
friendica 2014-09-01 20:41:05 -07:00
parent 148f4e8795
commit f64abf3ad8

View file

@ -51,7 +51,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
if($arr['channel']['success'])
$ret = $arr['channel'];
elseif($is_http)
elseif(! $is_http)
$ret = zot_finger($url,$channel);
if($ret && $ret['success']) {