Ignore:
Timestamp:
May 4, 2011, 8:08:52 PM (14 years ago)
Author:
roby
Message:
  • Sistemata la gestione della consultazione di default
File:
1 edited

Legend:

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

    r87 r90  
    2424if (isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); else
    2525{
     26        $res = mysql_query("SELECT id_cons FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ", $dbi);
     27        list($id_cons_pred)=mysql_fetch_row($res);
    2628        $res = mysql_query("SELECT id_cons_gen FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons_pred' ", $dbi);
    2729        list($id_cons_gen)=mysql_fetch_row($res);
    28 }
     30}       
    2931if (isset($param['op'])) $op=$param['op']; else $op='';
    3032if (isset($param['minsez'])) $minsez=intval($param['minsez']); else $minsez='';
Note: See TracChangeset for help on using the changeset viewer.