summaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-09-06 20:20:17 +0200
committerRobin Appelman <icewind@owncloud.com>2013-09-06 20:20:17 +0200
commit1cfd03771f3ba8a91b5600cf71c6f455d288bbe0 (patch)
tree945da8821cef09d57bf5141264392a237cb3cbdd /lib/files
parenta22f9ff301312bb24332edaacfb65c280cd8fcd8 (diff)
downloadnextcloud-server-1cfd03771f3ba8a91b5600cf71c6f455d288bbe0.tar.gz
nextcloud-server-1cfd03771f3ba8a91b5600cf71c6f455d288bbe0.zip
use ===
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/node/node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/node/node.php b/lib/files/node/node.php
index a71f7875064..a1db042c25c 100644
--- a/lib/files/node/node.php
+++ b/lib/files/node/node.php
@@ -56,7 +56,7 @@ class Node {
* @return bool
*/
protected function checkPermissions($permissions) {
- return ($this->getPermissions() & $permissions) == $permissions;
+ return ($this->getPermissions() & $permissions) === $permissions;
}
/**