Fix travis errors in Utility/PermissionEntity

This commit is contained in:
brantje 2016-10-08 00:06:51 +02:00
parent 724a3b33ff
commit fe690de354
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -27,7 +27,7 @@ class PermissionEntity extends Entity {
public function hasPermission($permission) {
$tmp = $this->getPermissions();
$tmp = $tmp & $permission;
return $tmp == $permission;
return $tmp === $permission;
}
/**