From 30bc84ea04661b34fd26834c4a77842ca82ed1a6 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 8 Oct 2015 16:58:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=ED=83=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/item.php b/shop/item.php index 8e022cfce..930d81ca9 100644 --- a/shop/item.php +++ b/shop/item.php @@ -174,7 +174,7 @@ $item_qa_count = $row['cnt']; // 관련상품의 개수를 얻음 if($default['de_rel_list_use']) { - $sql = " select count(*) as cnt from {$g5['g5_shop_item_relation_table']} a left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id) where a.it_id = '{$it['it_id']}' and and b.it_use='1' "; + $sql = " select count(*) as cnt from {$g5['g5_shop_item_relation_table']} a left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id) where a.it_id = '{$it['it_id']}' and b.it_use='1' "; $row = sql_fetch($sql); $item_relation_count = $row['cnt']; }