fixed exception on accessing permissions which are not known to the server
This commit is contained in:
parent
bb494e7054
commit
b8fe2d4e0c
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ class PermissionValue {
|
|||
|
||||
log.trace(LogCategory.PERMISSIONS,
|
||||
tr("Required permission test resulted for permission %s: %s. Required value: %s, Granted value: %s"),
|
||||
this.type.name,
|
||||
this.type ? this.type.name : "unknown",
|
||||
result ? tr("granted") : tr("denied"),
|
||||
requiredValue + (required ? " (" + tr("required") + ")" : ""),
|
||||
this.hasValue() ? this.value : tr("none")
|
||||
|
|
Loading…
Add table
Reference in a new issue