Use owner not profile

This commit is contained in:
Michael 2021-08-09 15:38:22 +00:00
parent 4495e83eca
commit f5e84c1ff0
1 changed files with 1 additions and 1 deletions

View 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();
}