Ignore:
Timestamp:
Feb 9, 2019, 8:45:24 PM (6 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

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

    r255 r257  
    1212    die ("You can't access this file directly...");
    1313}
    14 global $dbi;
     14global $dbi,$tipo_cons;
    1515$aid=$_SESSION['aid'];
    1616$prefix=$_SESSION['prefix'];
     
    266266                        $sth = $dbi->prepare("$sql");
    267267                        $sth->execute();       
    268                         if (!$result) return;
     268                        if (!$sth->rowCount()) return;
    269269                        Header("Location: admin.php?op=consultazione&id_cons_gen=$id_cons_gen");
    270270                }
Note: See TracChangeset for help on using the changeset viewer.