Skip to content

Commit 65b2b1f

Browse files
committed
fix: aggiornamento sottocategoria
1 parent 680d129 commit 65b2b1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

modules/categorie/actions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323

2424
switch (filter('op')) {
2525
case 'update':
26-
$nome = filter('nome');
27-
$nota = filter('nota');
28-
$colore = filter('colore');
26+
$nome = filter('nome_add') ?: filter('nome');
27+
$nota = filter('nota_add') ?: filter('nota');
28+
$colore = filter('colore_add') ?: filter('colore');
2929
$id_original = filter('id_original') ?: null;
3030
$is_articolo = (filter('is_articolo_add') ?: filter('is_articolo')) ?: 0;
3131
$is_impianto = (filter('is_impianto_add') ?: filter('is_impianto')) ?: 0;

0 commit comments

Comments
 (0)