瀏覽代碼

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…
取消
儲存