mirror of
https://github.com/friendica/friendica
synced 2024-11-19 11:43:41 +00:00
exception msg .. once again ;-)
This commit is contained in:
parent
df8bd18673
commit
93c44e6186
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class ProfileField extends BaseModel
|
|||
if (empty($this->permissionSet)) {
|
||||
$permissionSet = $this->permissionSetDepository->selectOneById($this->psid);
|
||||
if ($permissionSet->uid !== $this->uid) {
|
||||
throw new NotFoundException(sprintf('PermissionSet %d for ProfileField %d is invalid.', $permissionSet->uid, $this->uid));
|
||||
throw new NotFoundException(sprintf('PermissionSet %d (user-id: %d) for ProfileField %d (user-id: %d) is invalid.', $permissionSet->id, $permissionSet->uid, $this->id, $this->uid));
|
||||
}
|
||||
|
||||
$this->permissionSet = $permissionSet;
|
||||
|
|
Loading…
Reference in a new issue