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

    r258 r344  
    3030include("modules/Elezioni/funzionidata.php");
    3131include("modules/Elezioni/ele.php");
    32 if (isset($param['do'])) get_magic_quotes_gpc() ? $do=$param['do']:$do=addslashes($param['do']); else $do='';
    33 if (isset($param['descr_circ'])) get_magic_quotes_gpc() ? $descr_circ=$param['descr_circ']:$descr_circ=addslashes($param['descr_circ']); else $descr_circ='';
     32if (isset($param['do'])) $do=addslashes($param['do']); else $do='';
     33if (isset($param['descr_circ'])) $descr_circ=addslashes($param['descr_circ']); else $descr_circ='';
    3434if (isset($param['min'])) $min=intval($param['min']); else $min=0;
    3535if (isset($param['id_sede'])) $id_sede=intval($param['id_sede']); else $id_sede='';
     
    3838if (isset($param['id_circ'])) $id_circ=intval($param['id_circ']); else $id_circ='';
    3939if (isset($param['id_sede2'])) $id_sede2=intval($param['id_sede2']); else $id_sede2='';
    40 if (isset($param['indir'])) get_magic_quotes_gpc() ? $indir=$param['indir']:$indir=addslashes($param['indir']); else $indir='';
    41 if (isset($param['tel1'])) get_magic_quotes_gpc() ? $tel1=$param['tel1']:$tel1=addslashes($param['tel1']); else $tel1='';
    42 if (isset($param['tel2'])) get_magic_quotes_gpc() ? $tel2=$param['tel2']:$tel2=addslashes($param['tel2']); else $tel2='';
    43 if (isset($param['fax'])) get_magic_quotes_gpc() ? $fax=$param['fax']:$fax=addslashes($param['fax']); else $fax='';
    44 if (isset($param['resp'])) get_magic_quotes_gpc() ? $resp=$param['resp']:$resp=addslashes($param['resp']); else $resp='';
    45 if (isset($param['filemappa'])) get_magic_quotes_gpc() ? $filemappa=$param['filemappa']:$filemappa=addslashes($param['filemappa']); else $filemappa='';
    46 if (isset($param['mappa'])) get_magic_quotes_gpc() ? $mappa=$param['mappa']:$mappa=addslashes($param['mappa']); else $mappa='';
     40if (isset($param['indir'])) $indir=addslashes($param['indir']); else $indir='';
     41if (isset($param['tel1'])) $tel1=addslashes($param['tel1']); else $tel1='';
     42if (isset($param['tel2'])) $tel2=addslashes($param['tel2']); else $tel2='';
     43if (isset($param['fax'])) $fax=addslashes($param['fax']); else $fax='';
     44if (isset($param['resp'])) $resp=addslashes($param['resp']); else $resp='';
     45if (isset($param['filemappa'])) $filemappa=addslashes($param['filemappa']); else $filemappa='';
     46if (isset($param['mappa'])) $mappa=addslashes($param['mappa']); else $mappa='';
    4747
    4848
Note: See TracChangeset for help on using the changeset viewer.