1
1
Fork 0

Add probe data return if Contact::getDetailsByURL didn't yield a result in Contact::getDetailsByAddr

This commit is contained in:
Hypolite Petovan 2020-06-06 14:36:04 -04:00
parent 2233fa0e46
commit be41095936

View file

@ -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];
} }