Changeset 282 for trunk/client/modules


Ignore:
Timestamp:
Apr 21, 2019, 9:46:30 PM (5 years ago)
Author:
roby
Message:
 
Location:
trunk/client/modules/Elezioni
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/menu.php

    r265 r282  
    182182                        echo "<option value=\"gruppo_sezione\" ".$temp['gruppo_sezione'].">".substr(_GRUPPO." "._PER." "._SEZIONI,0,33)."</option>";
    183183                }
    184                 if (!$votol and $fascia>$limite){ // si vota per la lista
    185                         if ($genere>2) {
     184                if (!$votol and ($fascia>$limite || $limite==0)){ // si vota per la lista
     185                        if ($genere>2) { 
    186186                                if (!$circo and $num_circ>1)
    187187                                      echo "<option value=\"lista_circo\" ".$temp['lista_circo']." >".substr(_LISTA." "._PER." "._CIRCO,0,33)."</option>";
  • trunk/client/modules/Elezioni/rss.php

    r265 r282  
    160160               
    161161                                       
    162                                 $gruppinum=mysql_num_rows($res);
     162                                $gruppinum=$res->fetch(PDO::FETCH_NUM);
    163163                                $altrivoti=0;
    164164                                while (list($id,$num,$descrizione,$voti)  = $res->fetch(PDO::FETCH_NUM)){
Note: See TracChangeset for help on using the changeset viewer.