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/votanti.php

    r265 r344  
    2727if (isset($param['offsetsez'])) $offsetsez=intval($param['offsetsez']); else $offsetsez='';
    2828if (isset($param['perc'])) $perc=$param['perc']; else $perc='';
    29 if (isset($param['info'])) get_magic_quotes_gpc() ? $info=$param['info']:$info=addslashes($param['info']); else $info='';
    30 if (isset($param['files'])) get_magic_quotes_gpc() ? $files=$param['files']:$files=addslashes($param['files']); else $files='';
     29if (isset($param['info'])) $info=addslashes($param['info']); else $info='';
     30if (isset($param['files'])) $files=addslashes($param['files']); else $files='';
    3131if (isset($param['voti_lista'])) $voti_lista=intval($param['voti_lista']); else $voti_lista= 0;
    3232if (isset($param['perc_lista'])) $perc_lista=$param['perc_lista']; else $perc_lista= 0;
    33 if (isset($param['lettera'])) get_magic_quotes_gpc() ? $lettera=$param['lettera']:$lettera=addslashes($param['lettera']); else $lettera='';
     33if (isset($param['lettera'])) $lettera=addslashes($param['lettera']); else $lettera='';
    3434if (isset($param['id_gruppo'])) $id_gruppo=intval($param['id_gruppo']); else $id_gruppo='';
    3535if (isset($param['tipo_cons'])) $tipo_cons=intval($param['tipo_cons']); else $tipo_cons='';
Note: See TracChangeset for help on using the changeset viewer.