mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-29 06:45:59 +08:00
Fix travis errors in Utility/PermissionEntity
This commit is contained in:
parent
724a3b33ff
commit
fe690de354
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class PermissionEntity extends Entity {
|
|||
public function hasPermission($permission) {
|
||||
$tmp = $this->getPermissions();
|
||||
$tmp = $tmp & $permission;
|
||||
return $tmp == $permission;
|
||||
return $tmp === $permission;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue