상품상세 인증체크시 ca_id 값 없을 때 처리 코드 추가

This commit is contained in:
chicpro
2013-11-29 09:03:02 +09:00
parent 9f99843b7b
commit 7d78938fa3

View File

@ -1932,6 +1932,10 @@ function shop_member_cert_check($id, $type)
$seq = '';
for($i=0; $i<3; $i++) {
$ca_id = $it['ca_id'.$seq];
if(!$ca_id)
continue;
$sql = " select ca_cert_use, ca_adult_use from {$g5['g5_shop_category_table']} where ca_id = '$ca_id' ";
$row = sql_fetch($sql);