Skip to content

Commit d92a362

Browse files
authored
Fix lastInsertId to forward sequence name (#2050)
1 parent 5176778 commit d92a362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Propel/Runtime/Connection/PdoConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function getAttribute(int $attribute)
168168
*/
169169
public function lastInsertId(?string $name = null)
170170
{
171-
return $this->pdo->lastInsertId();
171+
return $this->pdo->lastInsertId($name);
172172
}
173173

174174
/**

0 commit comments

Comments
 (0)