Skip to content

Commit 88e79a3

Browse files
committed
fix: correzione in fase di aggiunta ordine
1 parent 17f4efd commit 88e79a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/ordini/add.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
$module = Module::find($id_module);
2424

25-
if ($module->getTranslation('title', Models\Locale::getPredefined()->id) == 'Ordini cliente') {
25+
if ($module->name == 'Ordini cliente') {
2626
$dir = 'entrata';
2727

2828
$tipo_anagrafica = 'Cliente';

0 commit comments

Comments
 (0)