Changeset 188


Ignore:
Timestamp:
Jun 11, 2013, 10:04:26 PM (11 years ago)
Author:
roby
Message:

ADMIN: corretta la gestione del voto disgiunto per alcuni casi particolari

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/funzionidata.php

    r139 r188  
    9393function isdisgiunto()
    9494{
    95 global $prefix,$dbi,$id_cons,$limite,$fascia,$ops;
     95global $prefix,$dbi,$id_cons,$limite,$id_comune,$ops;
     96$sqlcomu="select fascia from ".$prefix."_ele_comuni where id_comune='$id_comune'";
     97$res = mysql_query($sqlcomu);
     98list($fascia)=mysql_fetch_row($res);
    9699        #voti di lista e di gruppo completamente disgiunti
    97100        $result = mysql_query("select infdisgiunto, supdisgiunto from ".$prefix."_ele_conf as t2 left join ".$prefix."_ele_cons_comune as t1 on t1.id_conf=t2.id_conf where id_cons = '$id_cons' ", $dbi);
     
    99102        if ($result) {
    100103                list($infdis,$supdis)=mysql_fetch_row($result);
    101                 if((($fascia>$limite and $supdis) or ($fascia<$limite and $infdis)))
     104                if((($fascia>$limite and $supdis) or ($fascia<=$limite and $infdis)))
    102105                        $glsep='_lista';
    103106        }
  • trunk/admin/versione.php

    r186 r188  
    11<?php
    2 $versione="2.0 rev 186";
     2$versione="2.0 rev 188";
    33?>
  • trunk/client/versione.php

    r186 r188  
    11<?php
    2 $versione="2.0 rev 186";
     2$versione="2.0 rev 188";
    33?>
Note: See TracChangeset for help on using the changeset viewer.