Merge pull request #5679 from annando/neverending-notices
The neverending story of removing notices continues ...
This commit is contained in:
commit
df3b1be3b7
1 changed files with 3 additions and 2 deletions
|
@ -934,9 +934,10 @@ class Probe
|
||||||
|
|
||||||
$prof_data = [];
|
$prof_data = [];
|
||||||
|
|
||||||
if (empty($data["addr"])) {
|
if (empty($data["addr"]) || empty($data["nick"])) {
|
||||||
$probe_data = self::uri($profile_link);
|
$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"];
|
$prof_data["addr"] = $data["addr"];
|
||||||
|
|
Loading…
Reference in a new issue