]> git.mxchange.org Git - friendica.git/commitdiff
Use owner not profile
authorMichael <heluecht@pirati.ca>
Mon, 9 Aug 2021 15:38:22 +0000 (15:38 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 9 Aug 2021 15:38:22 +0000 (15:38 +0000)
src/Module/Settings/Profile/Index.php

index 042ff66c2bb2dc7fc7066d274444472e92575d03..adf6fff974d86c503dd51469b635c9c6423cae50 100644 (file)
@@ -146,7 +146,7 @@ class Index extends BaseSettings
 
                $o = '';
 
-               $profile = Profile::getByUID(local_user());
+               $profile = User::getOwnerDataById(local_user());
                if (!DBA::isResult($profile)) {
                        throw new HTTPException\NotFoundException();
                }