diff options
Diffstat (limited to 'lib/user')
-rw-r--r-- | lib/user/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user/database.php b/lib/user/database.php index 5eff8f199be..ea938790d22 100644 --- a/lib/user/database.php +++ b/lib/user/database.php @@ -243,7 +243,7 @@ class OC_User_Database extends OC_User_Backend { OC_Log::write('core', OC_DB::getErrorMessage($result), OC_Log::ERROR); return false; } - return $result->fetchColumn() > 0; + return $result->fetchOne() > 0; } /** |