mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00:00
Some more notices removed
This commit is contained in:
parent
489d3daa94
commit
bc38420801
2 changed files with 5 additions and 1 deletions
|
@ -116,6 +116,10 @@ class Profile
|
|||
return;
|
||||
}
|
||||
|
||||
if (empty($pdata)) {
|
||||
$pdata = ['uid' => 0, 'profile_uid' => 0, 'is-default' => false,'name' => $nickname];
|
||||
}
|
||||
|
||||
// fetch user tags if this isn't the default profile
|
||||
|
||||
if (!$pdata['is-default']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue