mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修复上一次提交的错误
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user