Merge pull request #5679 from annando/neverending-notices

The neverending story of removing notices continues ...
This commit is contained in:
Tobias Diekershoff 2018-08-27 09:12:38 +02:00 committed by GitHub
commit df3b1be3b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -934,9 +934,10 @@ class Probe
$prof_data = [];
if (empty($data["addr"])) {
if (empty($data["addr"]) || empty($data["nick"])) {
$probe_data = self::uri($profile_link);
$data["addr"] = $probe_data["addr"];
$data["addr"] = defaults($data, "addr", $probe_data["addr"]);
$data["nick"] = defaults($data, "nick", $probe_data["nick"]);
}
$prof_data["addr"] = $data["addr"];