1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-24 12:51:05 +01:00

Bugfix su segmenti

This commit is contained in:
Bacca97 2018-05-30 10:06:08 +02:00
parent 465b8d61fa
commit 16f278d107

View File

@ -15,13 +15,13 @@ switch (post('op')) {
$dbo->query('UPDATE zz_segments SET predefined = 0 WHERE id_module = '.prepare($id_module)); $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'), 'id_module' => post('module'),
'name' => post('name'), 'name' => post('name'),
'clause' => post('clause'), 'clause' => post('clause'),
'pattern' => $pattern, 'pattern' => $pattern,
'note' => post('note'), 'note' => post('note'),
'position' => post('pisition'), 'position' => post('position'),
'predefined' => $predefined, 'predefined' => $predefined,
], ['id' => $id_record]); ], ['id' => $id_record]);