use ===
This commit is contained in:
parent
a22f9ff301
commit
1cfd03771f
|
@ -56,7 +56,7 @@ class Node {
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
protected function checkPermissions($permissions) {
|
protected function checkPermissions($permissions) {
|
||||||
return ($this->getPermissions() & $permissions) == $permissions;
|
return ($this->getPermissions() & $permissions) === $permissions;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue