mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Ensure that the network is set for "self" contac ts
This commit is contained in:
parent
74a0bfc6da
commit
582fd613e0
2 changed files with 3 additions and 3 deletions
|
@ -412,7 +412,7 @@ class User
|
|||
|
||||
// Check for correct url and normalised nurl
|
||||
$url = DI::baseUrl() . '/profile/' . $owner['nickname'];
|
||||
$repair = ($owner['url'] != $url) || ($owner['nurl'] != Strings::normaliseLink($owner['url']));
|
||||
$repair = empty($owner['network']) || ($owner['url'] != $url) || ($owner['nurl'] != Strings::normaliseLink($owner['url']));
|
||||
|
||||
if (!$repair) {
|
||||
// Check if "addr" is present and correct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue