diff --git a/src/Storage/DbalNestedSet.php b/src/Storage/DbalNestedSet.php index a405446d..e1d74cdc 100644 --- a/src/Storage/DbalNestedSet.php +++ b/src/Storage/DbalNestedSet.php @@ -386,6 +386,7 @@ protected function moveSubTreeToPosition($newLeftPosition, Node $node) { $this->connection->executeUpdate('UPDATE ' . $this->tableName . ' SET right_pos = right_pos - ? WHERE right_pos > ?', [$width, $node->getRight()] ); + $this->connection->commit(); } catch (Exception $e) { $this->connection->rollBack();