Skip to content

Commit 1627a04

Browse files
committed
fix: impostazione progressivo in duplicazione ddt
1 parent 3dbbe80 commit 1627a04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/ddt/actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@
607607
case 'copy':
608608
$new = $ddt->replicate();
609609

610-
$new->numero = DDT::getNextNumero($new->data, $dir, $id_segment);
610+
$new->numero = DDT::getNextNumero($new->data, $dir, $ddt->id_segment);
611611
$new->numero_esterno = DDT::getNextNumeroSecondario($new->data, $dir, $new->id_segment);
612612

613613
$stato = Stato::where('name', 'Bozza')->first()->id;

0 commit comments

Comments
 (0)