diff options
author | Loki3000 <github@labcms.ru> | 2017-01-10 16:39:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 16:39:10 +0300 |
commit | 5c7792336052702ccbbfb920ef5a8606d1ba695b (patch) | |
tree | c45f4c69a22286e0eb76c7cc4df5445b15ab222d | |
parent | b7e6c5ecdf5df08197670071c23d5c40aaa8bd02 (diff) | |
download | nextcloud-server-5c7792336052702ccbbfb920ef5a8606d1ba695b.tar.gz nextcloud-server-5c7792336052702ccbbfb920ef5a8606d1ba695b.zip |
allowed '0' uid
-rw-r--r-- | lib/private/User/Database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/Database.php b/lib/private/User/Database.php index dccdb790145..73c918e9944 100644 --- a/lib/private/User/Database.php +++ b/lib/private/User/Database.php @@ -239,7 +239,7 @@ class Database extends Backend implements IUserBackend { private function loadUser($uid) { if (!isset($this->cache[$uid])) { //guests $uid could be NULL or '' - if (empty($uid)) { + if ($uid===null || $uid==='') { $this->cache[$uid]=false; return true; } |