mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修复上一次提交的错误
This commit is contained in:
@@ -1135,7 +1135,7 @@ abstract class Driver
|
|||||||
*/
|
*/
|
||||||
public function getError()
|
public function getError()
|
||||||
{
|
{
|
||||||
if ($this->linkID) {
|
if ($this->PDOStatement) {
|
||||||
$error = $this->PDOStatement->errorInfo();
|
$error = $this->PDOStatement->errorInfo();
|
||||||
$error = $error[1] . ':' . $error[2];
|
$error = $error[1] . ':' . $error[2];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user