]> source.dussan.org Git - nextcloud-server.git/commitdiff
use ===
authorRobin Appelman <icewind@owncloud.com>
Fri, 6 Sep 2013 18:20:17 +0000 (20:20 +0200)
committerRobin Appelman <icewind@owncloud.com>
Fri, 6 Sep 2013 18:20:17 +0000 (20:20 +0200)
lib/files/node/node.php

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