Changeset 397 for trunk/admin/modules/Elezioni/ele_colora_sez.php
- Timestamp:
- Sep 29, 2023, 3:28:03 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_colora_sez.php
r394 r397 20 20 $res->execute(); 21 21 }else{ #candidati 22 $sql="SELECT t1.num_cand FROM ".$prefix."_ele_voti_candidati as t1 left join ".$prefix."_ele_candidati as t2 on t1.id_cand=t2.id_cand where t1.id_cons='$id_cons' and t1.id_sez='$id_sez' group by t2.id_lista";22 $sql="SELECT t1.num_cand FROM ".$prefix."_ele_voti_candidati as t1 left join ".$prefix."_ele_candidati as t2 on t1.id_cand=t2.id_cand where t1.id_cons='$id_cons' and t1.id_sez='$id_sez'"; 23 23 $res = $dbi->prepare("$sql"); 24 24 $res->execute();
Note:
See TracChangeset
for help on using the changeset viewer.