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

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

@ -16,7 +16,7 @@ include_once('./_head.php');
$cp_count = 0;
$sql = " select cp_id
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."' ";
$res = sql_query($sql);