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

    r336 r344  
    3131if(isset($row[0])) {$tipo_cons=$row[0];$id_cons=$row[1];} else {$tipo_cons=0; $id_cons=0;}
    3232
    33 if (isset($param['do'])) get_magic_quotes_gpc() ? $do=$param['do']:$do=addslashes($param['do']); else $do='';
     33if (isset($param['do'])) $do=addslashes($param['do']); else $do='';
    3434if (isset($param['min'])) $min=intval($param['min']); else $min=0;
    35 if (isset($param['ok'])) get_magic_quotes_gpc() ? $ok=$param['ok']:$ok=addslashes($param['ok']); else $ok='';
     35if (isset($param['ok'])) $ok=addslashes($param['ok']); else $ok='';
    3636if (isset($param['idw'])) $idw=intval($param['idw']); else $idw='';
    37 if (isset($param['nome_file'])) get_magic_quotes_gpc() ?
    38 $nome_file=$param['nome_file']:$nome_file=addslashes($param['nome_file']); else $nome_file='';
    39 if (isset($param['titolo'])) get_magic_quotes_gpc() ?
    40 $titolo=$param['titolo']:$titolo=addslashes($param['titolo']); else $titolo='';
     37if (isset($param['nome_file'])) $nome_file=addslashes($param['nome_file']); else $nome_file='';
     38if (isset($param['titolo'])) $titolo=addslashes($param['titolo']); else $titolo='';
    4139if (isset($param['pos_or'])) $pos_or=intval($param['pos_or']); else $pos_or='';
    4240if (isset($param['pos_ver'])) $pos_ver=intval($param['pos_ver']); else $pos_ver='';
Note: See TracChangeset for help on using the changeset viewer.