Skip to content

Commit

Permalink
Warning: Trying to access array offset on value of type null 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kagla committed Mar 15, 2022
1 parent 30a2481 commit bdcf17d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shop/settle_lg_common.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

$result = false;

if($row['pp_id']) {
if(isset($row['pp_id']) && $row['pp_id']) {
// 개인결제 UPDATE
$sql = " update {$g5['g5_shop_personalpay_table']}
set pp_receipt_price = '$LGD_AMOUNT',
Expand Down Expand Up @@ -113,7 +113,7 @@
}

if($result) {
if($row['od_id'])
if(isset($row['od_id']) && $row['od_id'])
$od_id = $row['od_id'];
else
$od_id = $LGD_OID;
Expand Down

0 comments on commit bdcf17d

Please sign in to comment.