From f5e84c1ff00ee5de096ffa019fac60c64241e726 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 9 Aug 2021 15:38:22 +0000 Subject: [PATCH] Use owner not profile --- src/Module/Settings/Profile/Index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Settings/Profile/Index.php b/src/Module/Settings/Profile/Index.php index 042ff66c2b..adf6fff974 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(); }