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

    r257 r344  
    2424
    2525
    26 if (isset($param['add_title'])) get_magic_quotes_gpc() ? $add_title=$param['add_title']:$add_title=addslashes($param['add_title']); else $add_title='';
    27 if (isset($param['add_preamble'])) get_magic_quotes_gpc() ? $add_preamble=$param['add_preamble']:$add_preamble=addslashes($param['add_preamble']); else $add_preamble='';
    28 if (isset($param['add_content'])) get_magic_quotes_gpc() ? $add_content=$param['add_content']:$add_content=addslashes($param['add_content']); else $add_content='';
    29 if (isset($param['vai'])) get_magic_quotes_gpc() ? $vai=$param['vai']:$vai=addslashes($param['vai']); else $vai='come';
    30 if (isset($param['mid'])) get_magic_quotes_gpc() ? $mid=$param['mid']:$mid=addslashes($param['mid']); else $mid='';
    31 if (isset($param['ok'])) get_magic_quotes_gpc() ? $ok=$param['ok']:$ok=addslashes($param['ok']); else $ok='';
    32 if (isset($param['op'])) get_magic_quotes_gpc() ? $op=$param['op']:$op=addslashes($param['op']); else $op='come';
     26if (isset($param['add_title'])) $add_title=addslashes($param['add_title']); else $add_title='';
     27if (isset($param['add_preamble'])) $add_preamble=addslashes($param['add_preamble']); else $add_preamble='';
     28if (isset($param['add_content'])) $add_content=addslashes($param['add_content']); else $add_content='';
     29if (isset($param['vai'])) $vai=addslashes($param['vai']); else $vai='come';
     30if (isset($param['mid'])) $mid=addslashes($param['mid']); else $mid='';
     31if (isset($param['ok'])) $ok=addslashes($param['ok']); else $ok='';
     32if (isset($param['op'])) $op=addslashes($param['op']); else $op='come';
    3333$tab='_ele_'.$op;
    3434
Note: See TracChangeset for help on using the changeset viewer.