mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-28 19:04:15 +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…
Reference in a new issue