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

    r333 r344  
    2323$res->execute();                               
    2424list($tipo_cons,$id_cons) = $res->fetch(PDO::FETCH_NUM);
    25 if (isset($param['aid2'])) get_magic_quotes_gpc() ? $aid2=$param['aid2']:$aid2=addslashes($param['aid2']); else $aid2='';
     25if (isset($param['aid2'])) $aid2=addslashes($param['aid2']); else $aid2='';
    2626if (isset($param['id_sede'])) $id_sede=intval($param['id_sede']); else $id_sede='';
    27 if (isset($param['do'])) get_magic_quotes_gpc() ? $do=$param['do']:$do=addslashes($param['do']); else $do='';
    28 if (isset($param['permessi'])) get_magic_quotes_gpc() ? $permessi=$param['permessi']:$permessi=addslashes($param['permessi']); else $permessi='';
     27if (isset($param['do'])) $do=addslashes($param['do']); else $do='';
     28if (isset($param['permessi'])) $permessi=addslashes($param['permessi']); else $permessi='';
    2929if (isset($param['id_comune2'])) $id_comune2=intval($param['id_comune2']); else $id_comune2='';
    3030if (isset($param['ok'])) $ok=intval($param['ok']); else $ok='';
    31 if (isset($param['mex'])) get_magic_quotes_gpc() ? $mex=$param['mex']:$mex=addslashes($param['mex']); else $mex='';
     31if (isset($param['mex'])) $mex=addslashes($param['mex']); else $mex='';
    3232
    3333include("modules/Elezioni/funzionidata.php");
Note: See TracChangeset for help on using the changeset viewer.