Changeset 341 for trunk/client/modules/Elezioni
- Timestamp:
- Nov 14, 2020, 9:00:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/blocchi/01_votanti.php
r340 r341 63 63 else $sql="select count(0) from ".$prefix."_ele_sezioni as t2 left join ".$prefix."_ele_sede as t1 on t1.id_sede=t2.id_sede where t1.id_sede in (select id_sede from ".$prefix."_ele_sede where id_circ='$id_circ') and t2.validi+t2.nulli+t2.bianchi+t2.contestati>0 "; 64 64 65 else $sql="select count(0) from ".$prefix."_ele_sezioni where id_cons='$id_cons' and validi+nulli+bianchi+contestati>0";66 65 $res_sez = $dbi->prepare("$sql"); 67 66 $res_sez->execute();
Note:
See TracChangeset
for help on using the changeset viewer.