Changeset 424 for trunk/admin/modules/Elezioni/ele_cons_comuni.php
- Timestamp:
- Jun 13, 2024, 7:18:22 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_cons_comuni.php
r344 r424 149 149 function cons_comuni($ok, $id_cons2,$do, $duplica,$elettori) 150 150 { 151 global $prefix, $dbi,$id_comune,$id_cons_gen,$perms,$predefinita ;151 global $prefix, $dbi,$id_comune,$id_cons_gen,$perms,$predefinita,$chiusa; 152 152 if ($perms>32) { 153 153 $sql="select id_cons from ".$prefix."_ele_cons_comune where id_cons_gen='$id_cons_gen' and id_comune=$id_comune"; … … 236 236 $result->execute(); 237 237 }else{ 238 $sql="update ".$prefix."_ele_cons_comune set chiusa='$chiusa' WHERE id_cons 2='$id_cons2'";238 $sql="update ".$prefix."_ele_cons_comune set chiusa='$chiusa' WHERE id_cons='$id_cons2'"; 239 239 $result = $dbi->prepare("$sql"); 240 240 $result->execute();
Note:
See TracChangeset
for help on using the changeset viewer.