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_operatori.php

    r332 r344  
    1919$res->execute();       
    2020list($tipo_cons,$id_cons) = $res->fetch(PDO::FETCH_NUM);
    21 if (isset($_GET['aid2'])) get_magic_quotes_gpc() ? $aid2=$param['aid2']:$aid2=addslashes($param['aid2']); else {if ($perms==256) $aid2='admin'; else $aid2='';}
     21if (isset($_GET['aid2'])) $aid2=addslashes($param['aid2']); else {if ($perms==256) $aid2='admin'; else $aid2='';}
    2222if (isset($_GET['id_sede'])) $id_sede=intval($_GET['id_sede']); else $id_sede='';
    23 if (isset($_GET['do'])) get_magic_quotes_gpc() ? $do=$param['do']:$do=addslashes($param['do']); else $do='';
    24 if (isset($_GET['name'])) get_magic_quotes_gpc() ? $name=$param['name']:$name=addslashes($param['name']); else $name='';
    25 if (isset($_GET['email'])) get_magic_quotes_gpc() ? $email=$param['email']:$email=addslashes($param['email']); else $email='';
    26 if (isset($_GET['passwd'])) get_magic_quotes_gpc() ? $passwd=$param['passwd']:$passwd=addslashes($param['passwd']); else $passwd='';
    27 if (isset($_GET['passwd2'])) get_magic_quotes_gpc() ? $passwd2=$param['passwd2']:$passwd2=addslashes($param['passwd2']); else $passwd2='';
     23if (isset($_GET['do'])) $do=addslashes($param['do']); else $do='';
     24if (isset($_GET['name'])) $name=addslashes($param['name']); else $name='';
     25if (isset($_GET['email'])) $email=addslashes($param['email']); else $email='';
     26if (isset($_GET['passwd'])) $passwd=addslashes($param['passwd']); else $passwd='';
     27if (isset($_GET['passwd2'])) $passwd2=addslashes($param['passwd2']); else $passwd2='';
    2828
    2929include("modules/Elezioni/funzionidata.php");
Note: See TracChangeset for help on using the changeset viewer.