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/client/modules/Elezioni/index.php

    r343 r344  
    1919if (isset($param['xls'])) $xls=intval($param['xls']); else $xls='0';
    2020if (isset($param['pdf'])) $pdf=intval($param['pdf']); else $pdf='0';
    21 if (isset($param['datipdf'])) get_magic_quotes_gpc() ? $datipdf=$param['datipdf']:$datipdf=addslashes($param['datipdf']); else $datipdf='';
     21if (isset($param['datipdf'])) $datipdf=addslashes($param['datipdf']); else $datipdf='';
    2222if(isset($param['visgralista'])) $visgralista=1;
    2323if (isset($param['id_comune'])) $id_comune=intval($param['id_comune']); else $id_comune=$siteistat;
     
    4545if (isset($param['offsetsez'])) $offsetsez=intval($param['offsetsez']); else $offsetsez='';
    4646if (isset($param['perc'])) $perc=$param['perc']; else $perc='';
    47 if (isset($param['info'])) get_magic_quotes_gpc() ? $info=$param['info']:$info=addslashes($param['info']); else $info='';
    48 if (isset($param['files'])) get_magic_quotes_gpc() ? $files=$param['files']:$files=addslashes($param['files']); else $files='';
     47if (isset($param['info'])) $info=addslashes($param['info']); else $info='';
     48if (isset($param['files'])) $files=addslashes($param['files']); else $files='';
    4949if (isset($param['voti_lista'])) $voti_lista=intval($param['voti_lista']); else $voti_lista= 0;
    5050if (isset($param['perc_lista'])) $perc_lista=$param['perc_lista']; else $perc_lista= 0;
    51 if (isset($param['lettera'])) get_magic_quotes_gpc() ? $lettera=$param['lettera']:$lettera=addslashes($param['lettera']); else $lettera='';
    52 if (isset($param['ordine'])) get_magic_quotes_gpc() ? $ordine=$param['ordine']:$ordine=addslashes($param['ordine']); else $ordine='';
     51if (isset($param['lettera'])) $lettera=addslashes($param['lettera']); else $lettera='';
     52if (isset($param['ordine'])) $ordine=addslashes($param['ordine']); else $ordine='';
    5353if (isset($param['id_gruppo'])) $id_gruppo=intval($param['id_gruppo']); else $id_gruppo='';
    5454if (isset($param['tipo_cons'])) $tipo_cons=intval($param['tipo_cons']); else $tipo_cons='';
Note: See TracChangeset for help on using the changeset viewer.