1
0
Fork 0

Merge pull request #5659 from annando/notices-oh-no

Oh no ... there are still some notices that want to be removed ...
This commit is contained in:
Tobias Diekershoff 2018-08-24 14:46:21 +02:00 committed by GitHub
commit 6a549d4cfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 5 deletions

View file

@ -934,11 +934,12 @@ class Probe
$prof_data = [];
// The "addr" is not always part of the fetched data
if (!empty($data["addr"])) {
$prof_data["addr"] = $data["addr"];
if (empty($data["addr"])) {
$probe_data = self::uri($profile_link);
$data["addr"] = $probe_data["addr"];
}
$prof_data["addr"] = $data["addr"];
$prof_data["nick"] = $data["nick"];
$prof_data["dfrn-request"] = $data["request"];
$prof_data["dfrn-confirm"] = $data["confirm"];