사용후기 주문완료 체크 루틴 오류 수정

This commit is contained in:
chicpro committed 2014-03-07 16:48:41 +09:00
1 parent fb7978e148
commit 12b9a4fe05
4 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -1873,7 +1873,7 @@ function is_soldout($it_id)
}
// 상품후기 작성가능한지 체크
function check_itemuse_write($close=true)
function check_itemuse_write($it_id, $mb_id, $close=true)
{
global $g5, $default, $is_admin;
@@ -1882,7 +1882,7 @@ function check_itemuse_write($close=true)
$sql = " select count(*) as cnt
from {$g5['g5_shop_cart_table']}
where it_id = '$it_id'
and mb_id = '{$member['mb_id']}'
and mb_id = '$mb_id'
and ct_status = '완료' ";
$row = sql_fetch($sql);