Changeset 389 for trunk/client/modules/Elezioni/blocchi
- Timestamp:
- Jan 30, 2023, 9:08:11 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/blocchi/01_votanti.php
r341 r389 29 29 list($tot_aventi) = $res->fetch(PDO::FETCH_NUM); 30 30 31 $sql="select sum(t1.validi+t1.nulli+t1.bianchi+t1.contestati ) as tot,32 sum(t1.validi),sum(t1.nulli ),sum(t1.bianchi),sum(t1.contestati), '0', '0', '0'31 $sql="select sum(t1.validi+t1.nulli+t1.bianchi+t1.contestati+t1.voti_nulli) as tot, 32 sum(t1.validi),sum(t1.nulli+t1.voti_nulli),sum(t1.bianchi),sum(t1.contestati), '0', '0', '0' 33 33 from ".$prefix."_ele_sezioni as t1 left join ".$prefix."_ele_sede as t2 on t1.id_sede=t2.id_sede where t1.id_cons='$id_cons' and validi>0 $circos"; 34 34 $res = $dbi->prepare("$sql");
Note:
See TracChangeset
for help on using the changeset viewer.