php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun
2021-01-04 15:39:15 +09:00
parent 131b170b54
commit 27e9af5e42
1009 changed files with 12120 additions and 10849 deletions

View File

@ -42,7 +42,7 @@ include_once('./_head.php');
$out_cd = '';
$sql = " select count(*) as cnt from {$g5['g5_shop_item_option_table']} where it_id = '{$row['it_id']}' and io_type = '0' ";
$tmp = sql_fetch($sql);
if($tmp['cnt'])
if(isset($tmp['cnt']) && $tmp['cnt'])
$out_cd = 'no';
$it_price = get_price($row);
@ -145,5 +145,4 @@ include_once('./_head.php');
<!-- } 위시리스트 끝 -->
<?php
include_once('./_tail.php');
?>
include_once('./_tail.php');