Преглед изворни кода

Use the MDB2 function to get the count result

tags/v6.0.0alpha2
Bart Visscher пре 11 година
родитељ
комит
fa8214ecc9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      lib/user/database.php

+ 1
- 1
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;
}

/**

Loading…
Откажи
Сачувај