Changeset 360 for trunk/admin/modules/Elezioni/ele_candidato.php
- Timestamp:
- Mar 14, 2022, 5:13:56 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_candidato.php
r358 r360 283 283 }else{ 284 284 $pro= $sthcan->fetch(PDO::FETCH_BOTH); 285 $dati = htmlentities($_pro['cognome'], ENT_QUOTES, "UTF-8"); 285 286 $sql="delete from ".$prefix."_ele_candidati where id_cand='$id_cand'"; 286 287 $sth = $dbi->prepare("$sql"); 287 288 $sth->execute(); 288 289 $result=$sth->rowCount(); 289 $sql="insert into ".$prefix."_ele_log values ('$id_cons','$id_sez','$username','$data','$tempo','DELETE:id_lista:$pro[id_lista],cognome:$ pro[cognome],nome:$pro[nome]','','".$prefix."_ele_candidati')";290 $sql="insert into ".$prefix."_ele_log values ('$id_cons','$id_sez','$username','$data','$tempo','DELETE:id_lista:$pro[id_lista],cognome:$dati,nome:$codifica:$pro[nome]','','".$prefix."_ele_candidati')"; 290 291 $sth = $dbi->prepare("$sql"); 291 292 $sth->execute();
Note:
See TracChangeset
for help on using the changeset viewer.