Ignore:
Timestamp:
Dec 1, 2020, 8:25:00 PM (3 years ago)
Author:
roby
Message:

Segue modifiche per la compatibilità php7.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/ele_consultazionitipi.php

    r257 r344  
    2727if (isset($param['min'])) $min=intval($param['min']); else $min=0;
    2828if (isset($param['ok'])) $ok=intval($param['ok']); else $ok=0;
    29 if (isset($param['do'])) get_magic_quotes_gpc() ? $do=$param['do']:$do=addslashes($param['do']); else $do='';
    30 if (isset($param['referendum'])) get_magic_quotes_gpc() ? $referendum=$param['referendum']:$referendum=addslashes($param['referendum']); else $referendum='';
    31 if (isset($param['liste'])) get_magic_quotes_gpc() ? $liste=$param['liste']:$liste=addslashes($param['liste']); else $liste='';
    32 if (isset($param['gruppi'])) get_magic_quotes_gpc() ? $gruppi=$param['gruppi']:$gruppi=addslashes($param['gruppi']); else $gruppi='';
    33 if (isset($param['votigruppo'])) get_magic_quotes_gpc() ? $votigruppo=$param['votigruppo']:$votigruppo=addslashes($param['votigruppo']); else $votigruppo='';
    34 if (isset($param['votilista'])) get_magic_quotes_gpc() ? $votilista=$param['votilista']:$votilista=addslashes($param['votilista']); else $votilista='';
    35 if (isset($param['voticandi'])) get_magic_quotes_gpc() ? $voticandi=$param['voticandi']:$voticandi=addslashes($param['voticandi']); else $voticandi='';
    36 if (isset($param['ballo'])) get_magic_quotes_gpc() ? $ballo=$param['ballo']:$ballo=addslashes($param['ballo']); else $ballo='';
    37 if (isset($param['circo'])) get_magic_quotes_gpc() ? $circo=$param['circo']:$circo=addslashes($param['circo']); else $circo='';
    38 if (isset($param['descr_cons2'])) get_magic_quotes_gpc() ? $descr_cons2=$param['descr_cons2']:$descr_cons2=addslashes($param['descr_cons2']); else $descr_cons2='';
    39 if (isset($param['tipocons'])) get_magic_quotes_gpc() ? $tipocons=$param['tipocons']:$tipocons=addslashes($param['tipocons']); else $tipocons=$tipo_cons;
     29if (isset($param['do'])) $do=addslashes($param['do']); else $do='';
     30if (isset($param['referendum'])) $referendum=addslashes($param['referendum']); else $referendum='';
     31if (isset($param['liste'])) $liste=addslashes($param['liste']); else $liste='';
     32if (isset($param['gruppi'])) $gruppi=addslashes($param['gruppi']); else $gruppi='';
     33if (isset($param['votigruppo'])) $votigruppo=addslashes($param['votigruppo']); else $votigruppo='';
     34if (isset($param['votilista'])) $votilista=addslashes($param['votilista']); else $votilista='';
     35if (isset($param['voticandi'])) $voticandi=addslashes($param['voticandi']); else $voticandi='';
     36if (isset($param['ballo'])) $ballo=addslashes($param['ballo']); else $ballo='';
     37if (isset($param['circo'])) $circo=addslashes($param['circo']); else $circo='';
     38if (isset($param['descr_cons2'])) $descr_cons2=addslashes($param['descr_cons2']); else $descr_cons2='';
     39if (isset($param['tipocons'])) $tipocons=addslashes($param['tipocons']); else $tipocons=$tipo_cons;
    4040if (isset($param['help'])) $help=intval($param['help']);
    4141
Note: See TracChangeset for help on using the changeset viewer.