Fix minore

This commit is contained in:
Pek5892 2023-02-17 16:49:35 +01:00
parent 5f4e2849bf
commit a0f5089258
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ switch (filter('op')) {
// Duplica ddt
case 'copy':
$new = $ddt->replicate();
$new->numero = DDT::getNextNumero($new->data, $dir);
$new->numero = DDT::getNextNumero($new->data, $dir, $new->$id_segment);
$new->numero_esterno = DDT::getNextNumeroSecondario($new->data, $dir, $new->id_segment);
$stato = Stato::where('descrizione', '=', 'Bozza')->first();