Ignore:
Timestamp:
Dec 1, 2020, 8:25:00 PM (4 years ago)
Author:
roby
Message:

Segue modifiche per la compatibilità php7.x

File:
1 edited

Legend:

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

    r336 r344  
    1919#$dbi=$_SESSION['dbi'];
    2020$prefix=$_SESSION['prefix'];
    21 $currentlang=$_SESSION['lang'];
     21$language=$_SESSION['lang'];
    2222$id_cons_gen=$_GET['id_cons_gen'];
    2323$perms=ChiSei(0);
     
    3030
    3131if (isset($_GET['min'])) $min=intval($_GET['min']); else $min=0;
    32 if (isset($_GET['do'])) get_magic_quotes_gpc() ? $do=$param['do']:$do=addslashes($param['do']); else $do='';
     32if (isset($_GET['do'])) $do=addslashes($param['do']); else $do='';
    3333if (isset($_GET['ov'])) $ov=intval($_GET['ov']); else $ov='';
    3434if (isset($_GET['mv'])) $mv=intval($_GET['mv']); else $mv='';
     
    3636if (isset($_GET['msv'])) $msv=intval($_GET['msv']); else $msv='';
    3737if (isset($_GET['av'])) $av=intval($_GET['av']); else $av='';
    38 if (isset($_GET['tipo'])) get_magic_quotes_gpc() ? $tipo=$param['tipo']:$tipo=addslashes($param['tipo']); else $tipo='';
    39 if (isset($_GET['ok'])) get_magic_quotes_gpc() ? $ok=$param['ok']:$ok=addslashes($param['ok']); else $ok='';
    40 if (isset($_GET['modello'])) get_magic_quotes_gpc() ? $modello=$param['modello']:$modello=addslashes($param['modello']); else $modello='';
     38if (isset($_GET['tipo'])) $tipo=addslashes($param['tipo']); else $tipo='';
     39if (isset($_GET['ok'])) $ok=addslashes($param['ok']); else $ok='';
     40if (isset($_GET['modello'])) $modello=addslashes($param['modello']); else $modello='';
    4141if (isset($_GET['help'])) $help=intval($_GET['help']);
    4242
Note: See TracChangeset for help on using the changeset viewer.