修复上一次提交的错误

This commit is contained in:
麦当苗儿
2016-02-01 01:01:04 +08:00
parent 5e8229b046
commit 5ddad39f52

View File

@@ -1135,7 +1135,7 @@ abstract class Driver
*/
public function getError()
{
if ($this->linkID) {
if ($this->PDOStatement) {
$error = $this->PDOStatement->errorInfo();
$error = $error[1] . ':' . $error[2];
} else {