Fix #21761 Remove dopple +1 on $ranktouse.
This commit is contained in:
parent
bdb06ae9b5
commit
29df21d768
@ -194,7 +194,7 @@ if (empty($reshook)) {
|
|||||||
$rangmax = $object->line_max(0);
|
$rangmax = $object->line_max(0);
|
||||||
$ranktouse = $rangmax + 1;
|
$ranktouse = $rangmax + 1;
|
||||||
|
|
||||||
$bomline->position = ($ranktouse + 1);
|
$bomline->position = $ranktouse;
|
||||||
|
|
||||||
$result = $bomline->create($user);
|
$result = $bomline->create($user);
|
||||||
if ($result <= 0) {
|
if ($result <= 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user