Skip to content

Commit df25ea6

Browse files
committed
Update ez_pdo.php
1 parent 0a6f956 commit df25ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Database/ez_pdo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public function query(string $query, bool $use_prepare = false)
450450

451451
if ($this->processQuery($query, $param) === false) {
452452
if ($this->isTransactional)
453-
throw new \PDOException($this->lastError);
453+
throw new \PDOException($this->getLast_Error());
454454

455455
return false;
456456
}

0 commit comments

Comments
 (0)