전체회원에 발급된 쿠폰이 회원의 쿠폰리스트에 나오도록 수정

This commit is contained in:
chicpro
2013-11-14 18:22:27 +09:00
parent d606fb8ff7
commit 8abf82eab1
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include_once(G5_PATH.'/head.sub.php');
$sql = " select cp_id, cp_subject, cp_method, cp_target, cp_start, cp_end, cp_type, cp_price
from {$g5['g5_shop_coupon_table']}
where mb_id = '{$member['mb_id']}'
where mb_id IN ( '{$member['mb_id']}', '전체회원' )
and cp_start <= '".G5_TIME_YMD."'
and cp_end >= '".G5_TIME_YMD."'
order by cp_no ";