diff --git a/modules/segmenti/actions.php b/modules/segmenti/actions.php index 3414ad9ce..6a3d81368 100644 --- a/modules/segmenti/actions.php +++ b/modules/segmenti/actions.php @@ -15,13 +15,13 @@ switch (post('op')) { $dbo->query('UPDATE zz_segments SET predefined = 0 WHERE id_module = '.prepare($id_module)); } - $dbo->update('an_anagrafiche', [ + $dbo->update('zz_segments', [ 'id_module' => post('module'), 'name' => post('name'), 'clause' => post('clause'), 'pattern' => $pattern, 'note' => post('note'), - 'position' => post('pisition'), + 'position' => post('position'), 'predefined' => $predefined, ], ['id' => $id_record]);