diff options
author | Joas Schilling <coding@schilljs.com> | 2020-03-20 15:08:21 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-04-15 09:14:12 +0200 |
commit | 16e9bf23094a218d01d6b87b22e358473af1e731 (patch) | |
tree | ea69f1a2a3388b15dc63dcf51bccc2493b905713 /lib/private/User | |
parent | b212151af10bf70e13056921b866e75c397382f0 (diff) | |
download | nextcloud-server-16e9bf23094a218d01d6b87b22e358473af1e731.tar.gz nextcloud-server-16e9bf23094a218d01d6b87b22e358473af1e731.zip |
Make sure MySQL is not saying 'this' = 'this ' is true
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/User')
-rw-r--r-- | lib/private/User/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index 303050a7716..e55d4395191 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -188,7 +188,7 @@ class Manager extends PublicEmitter implements IUserManager { */ public function userExists($uid) { $user = $this->get($uid); - return ($user !== null); + return $user !== null && $user->getUID() === $uid; } /** |