Skip to content

Commit 93d68da

Browse files
larowlankimpepper
authored andcommitted
Add missing commit (#14)
1 parent a46dff1 commit 93d68da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Storage/DbalNestedSet.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ protected function moveSubTreeToPosition($newLeftPosition, Node $node) {
379379
$this->connection->executeUpdate('UPDATE ' . $this->tableName . ' SET right_pos = right_pos - ? WHERE right_pos > ?',
380380
[$width, $node->getRight()]
381381
);
382+
$this->connection->commit();
382383
}
383384
catch (Exception $e) {
384385
$this->connection->rollBack();

0 commit comments

Comments
 (0)