verifyUtente()) { die_forbidden(); } ?> fascicolo) && !empty($npa->scheda) && $npa->scheda["stato"] < 90 && !empty($npa->scheda["codice_modifica"])) : ?> scheda["codice_modifica"]; $result = $npa->updateScheda( [ "codice_modifica" => NULL, "codice_rettifica" => $codice_modifica, "stato" => 0, "errore" => "NO", ] ); // Catturiamo eventuali notice da PHP $notices = trim(ob_get_clean()); if (!empty($notices)) : ?> swal({ title: js_dict.attenzione ?>, html: ``, type: "error" }).then(function(){ window.location.reload(); }); swal({ title: , html: , type: "" }).then(function(){ window.location.reload() });