Add probe data return if Contact::getDetailsByURL didn't yield a result in Contact::getDetailsByAddr
This commit is contained in:
parent
2233fa0e46
commit
be41095936
|
@ -1168,7 +1168,7 @@ class Contact
|
|||
if (!DBA::isResult($r)) {
|
||||
$data = Probe::uri($addr);
|
||||
|
||||
$profile = self::getDetailsByURL($data['url'], $uid);
|
||||
$profile = self::getDetailsByURL($data['url'], $uid, $data);
|
||||
} else {
|
||||
$profile = $r[0];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user