File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222
2323switch (post ('op ' )) {
2424 case 'update ' :
25- $ id_utente = post ('id_utente ' );
25+ $ id_utente = post ('id_utente ' ) ?: null ;
2626 $ descrizione = post ('descrizione ' );
2727 $ tipo_accesso = post ('tipo_accesso ' );
2828 $ valido_dal = post ('valido_dal ' ) ?: null ;
2929 $ valido_al = post ('valido_al ' ) ?: null ;
30- $ id_module_target = post ('id_module_target ' ) ?: 0 ;
31- $ id_record_target = post ('id_record_target ' ) ?: 0 ;
30+ $ id_module_target = post ('id_module_target ' ) ?: null ;
31+ $ id_record_target = post ('id_record_target ' ) ?: null ;
3232 $ permessi = post ('permessi ' ) ?: null ;
3333 $ email = post ('email ' );
3434
Original file line number Diff line number Diff line change @@ -234,3 +234,7 @@ ALTER TABLE `mg_articoli` ADD INDEX(`idiva_vendita`);
234234
235235-- Rimozione indice doppio
236236ALTER TABLE ` mg_articoli` DROP INDEX ` id_combinazione` ;
237+
238+ -- Correzione in fase di creazione nuovo token
239+ ALTER TABLE ` zz_otp_tokens` CHANGE ` id_module_target` ` id_module_target` INT (11 ) NULL ;
240+ ALTER TABLE ` zz_otp_tokens` CHANGE ` id_record_target` ` id_record_target` INT (11 ) NULL ;
You can’t perform that action at this time.
0 commit comments