Changeset 57


Ignore:
Timestamp:
Mar 27, 2010, 5:01:12 PM (15 years ago)
Author:
roby
Message:

In client: corretta la visualizzazione della consultazione predefinita.

File:
1 edited

Legend:

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

    r55 r57  
    2222if(isset($param['visgralista'])) $visgralista=1;
    2323if (isset($param['id_comune'])) $id_comune=intval($param['id_comune']); else $id_comune=$siteistat;
    24 if (isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); else $id_cons_gen=$id_cons_pred;// cons predefinita
     24if (isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); else
     25{
     26        $res = mysql_query("SELECT id_cons_gen FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons_pred' ", $dbi);
     27        list($id_cons_gen)=mysql_fetch_row($res);
     28}
    2529if (isset($param['op'])) $op=$param['op']; else $op='';
    2630if (isset($param['minsez'])) $minsez=intval($param['minsez']); else $minsez='';
Note: See TracChangeset for help on using the changeset viewer.