改名
This commit is contained in:
@@ -257,6 +257,9 @@ class PDO implements StopHeartbeatCheck
|
|||||||
throw new Exception($prepare->errorInfo()[2] ?? static::DB_ERROR_MESSAGE);
|
throw new Exception($prepare->errorInfo()[2] ?? static::DB_ERROR_MESSAGE);
|
||||||
}
|
}
|
||||||
$result = (int)$pdo->lastInsertId();
|
$result = (int)$pdo->lastInsertId();
|
||||||
|
|
||||||
|
var_dump($result);
|
||||||
|
|
||||||
$prepare->closeCursor();
|
$prepare->closeCursor();
|
||||||
if ($result == 0) {
|
if ($result == 0) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user