Skip to content

Commit bad17b1

Browse files
committed
Rollback.
1 parent 04770b8 commit bad17b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PDO.Iterator.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class PDOIterator implements Iterator {
77

88
public function __construct(PDOStatement $pdo, $fetchMode = PDO::FETCH_ASSOC) {
99
$this->position = 0;
10-
$this->pdo = clone $pdo;
10+
$this->pdo = $pdo;
1111
$this->fetchMode = $fetchMode;
1212
}
1313

0 commit comments

Comments
 (0)