Changeset 336 for trunk/admin/modules/Elezioni/ele.php
- Timestamp:
- Sep 23, 2020, 11:32:27 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele.php
r297 r336 44 44 include_once("modules/Elezioni/query.sql"); 45 45 46 $row=setconsultazione(); $tipo_cons=$row[0]; $descr_cons=$row[1];$id_cons_gen=$row[2]; 47 $row=tipocons(); $genere=$row[0];$votog=$row[1];$votol=$row[2];$votoc=$row[3];$conscirc=$row[4]; 46 $row=setconsultazione(); 47 if(isset($row[0])) { 48 $tipo_cons=$row[0]; $descr_cons=$row[1]; $id_cons_gen=$row[2]; 49 } else { 50 $tipo_cons=0; $descr_cons=''; $id_cons_gen=0; 51 } 52 $row=tipocons(); 53 if(isset($row[0])) { 54 $genere=$row[0];$votog=$row[1];$votol=$row[2];$votoc=$row[3];$conscirc=$row[4]; 55 } else { 56 $genere=0;$votog=0;$votol=0;$votoc=0;$conscirc=0; 57 } 48 58 49 59 if (!$perms) $perms=ChiSei($id_cons_gen);
Note:
See TracChangeset
for help on using the changeset viewer.