PHP8에서 경고문이 뜨는 코드 수정
This commit is contained in:
@ -20,7 +20,7 @@ if( ! $p_req_url || !preg_match('/^https\:\/\//i', $p_req_url)){
|
||||
$sql = " select * from {$g5['g5_shop_order_data_table']} where od_id = '$oid' ";
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
$data = unserialize(base64_decode($row['dt_data']));
|
||||
$data = isset($row['dt_data']) ? unserialize(base64_decode($row['dt_data'])) : array();
|
||||
|
||||
if(isset($data['pp_id']) && $data['pp_id']) {
|
||||
$order_action_url = G5_HTTPS_MSHOP_URL.'/personalpayformupdate.php';
|
||||
|
||||
Reference in New Issue
Block a user