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