PHP8 버전에서 경고 표시가 뜨는 코드 추가 수정
This commit is contained in:
@ -26,7 +26,7 @@ if ($w == "u")
|
||||
|
||||
$sql = " select * from {$g5['g5_shop_event_table']} where ev_id = '$ev_id' ";
|
||||
$ev = sql_fetch($sql);
|
||||
if (!$ev['ev_id'])
|
||||
if (! (isset($ev['ev_id']) && $ev['ev_id']))
|
||||
alert("등록된 자료가 없습니다.");
|
||||
|
||||
// 등록된 이벤트 상품
|
||||
|
||||
Reference in New Issue
Block a user