diff --git a/htdocs/bom/bom_card.php b/htdocs/bom/bom_card.php index ee619a589e3..f67c4819efc 100644 --- a/htdocs/bom/bom_card.php +++ b/htdocs/bom/bom_card.php @@ -194,7 +194,7 @@ if (empty($reshook)) { $rangmax = $object->line_max(0); $ranktouse = $rangmax + 1; - $bomline->position = ($ranktouse + 1); + $bomline->position = $ranktouse; $result = $bomline->create($user); if ($result <= 0) {