Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed order of bit check

  • Loading branch information...
commit a7f8f40691f1abd44402cdd7f554afab2cebee1c 1 parent c900c8e
@dhoffend authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  PhealCheckAccess.php
View
2  PhealCheckAccess.php
@@ -166,7 +166,7 @@ public function check($scope, $name)
if($check[0] == $keytype) {
// check single accessbit
- if(is_int($check[1]) && $check[1] & $this->accessMask)
+ if(is_int($check[1]) && (int)$this->accessMask & (int)$check[1])
return true;
// fix if multiple accessbits are valid (eve/CharacterInfo)
Please sign in to comment.
Something went wrong with that request. Please try again.