This commit is contained in:
Robin Appelman 2013-09-06 20:20:17 +02:00
parent a22f9ff301
commit 1cfd03771f
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class Node {
* @return bool
*/
protected function checkPermissions($permissions) {
return ($this->getPermissions() & $permissions) == $permissions;
return ($this->getPermissions() & $permissions) === $permissions;
}
/**