]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Some more notices (#5526)
[friendica.git] / src / Model / Profile.php
index 15ad83ed85f60dd916ff528c6fb27a7afd497af0..5180a3ea2e002fcc9f4b8daf5b5cdffcdfd73140 100644 (file)
@@ -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']) {