PHP8 버전에서 경고코드가 나올수 있는 코드 추가 수정

This commit is contained in:
thisgun
2021-01-25 18:10:33 +09:00
parent 290a86e6d5
commit 13074c2ee1
4 changed files with 17 additions and 10 deletions

View File

@ -3,6 +3,9 @@ include_once('./_common.php');
require_once(G5_SHOP_PATH.'/settle_lg.inc.php');
$od_id = isset($_REQUEST['od_id']) ? safe_replace_regex($_REQUEST['od_id'], 'od_id') : '';
$tx = isset($_REQUEST['tx']) ? clean_xss_tags($_REQUEST['tx'], 1, 1) : '';
if($tx == 'personalpay') {
$od = sql_fetch(" select * from {$g5['g5_shop_personalpay_table']} where pp_id = '$od_id' ");
if (!$od)