Changeset 167 for trunk/admin/modules/Elezioni
- Timestamp:
- Feb 11, 2013, 4:10:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_voti.php
r165 r167 72 72 73 73 function stato_rilevazione($id_sez,$solosede){ 74 global $id_cons, $prefix, $dbi, $id_cons_gen,$status,$genere,$votol, $ idrefgruppo;74 global $id_cons, $prefix, $dbi, $id_cons_gen,$status,$genere,$votol, $votog, $idrefgruppo; 75 75 76 76 if($idrefgruppo) $perref= "and id_gruppo='$idrefgruppo'"; … … 524 524 list($votisezcand)=mysql_fetch_row($result); 525 525 if($fascia>$limite) 526 $result = mysql_query("SELECT sum(voti) from ".$prefix."_ele_voti_lista where id_sez='$id_sez' and id_lista='$id_ lista'", $dbi);526 $result = mysql_query("SELECT sum(voti) from ".$prefix."_ele_voti_lista where id_sez='$id_sez' and id_lista='$id_rif'", $dbi); 527 527 else{ 528 528
Note:
See TracChangeset
for help on using the changeset viewer.