Use owner not profile

This commit is contained in:
Michael 2021-08-09 15:38:22 +00:00
parent 4495e83eca
commit f5e84c1ff0

View File

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