diff --git a/src/Module/Settings/Profile/Index.php b/src/Module/Settings/Profile/Index.php index 042ff66c2..adf6fff97 100644 --- a/src/Module/Settings/Profile/Index.php +++ b/src/Module/Settings/Profile/Index.php @@ -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(); }