Use owner not profile
This commit is contained in:
parent
4495e83eca
commit
f5e84c1ff0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue