diff --git a/shop/price/naver.php b/shop/price/naver.php index b348bc55d..17303a5e8 100644 --- a/shop/price/naver.php +++ b/shop/price/naver.php @@ -49,8 +49,8 @@ for ($i=0; $row=sql_fetch_array($result); $i++) $caid1 = $caid2 = $caid3 = $caid4 = ''; $caid1 = substr($row['ca_id'],0,2); - $row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$caid1' "); - $cate1 = $row2['ca_name']; + $row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$caid1' "); + $cate1 = $row2['ca_name']; if (strlen($row['ca_id']) >= 8) { $caid4 = substr($row['ca_id'],0,8); diff --git a/shop/price/naver_summary.php b/shop/price/naver_summary.php index fa9f8d97e..72bcbfc23 100644 --- a/shop/price/naver_summary.php +++ b/shop/price/naver_summary.php @@ -49,7 +49,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) $caid1 = $caid2 = $caid3 = $caid4 = ''; $caid1 = substr($row['ca_id'],0,2); - $row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$caid1' "); + $row2 = sql_fetch(" select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$caid1' "); $cate1 = $row2['ca_name']; if (strlen($row['ca_id']) >= 8) {