쿠폰관리에서 적용상품 검색 안되는 오류 수정

This commit is contained in:
chicpro
2013-10-14 09:36:27 +09:00
parent 49bcf24a3b
commit 53e40e843e

View File

@ -31,7 +31,7 @@ if($_GET['sch_target'] == 1) {
} else {
$sql_common = " from {$g5['g5_shop_item_table']} ";
$sql_where = " where it_use = '1' ";
if($GET['sch_word'])
if($_GET['sch_word'])
$sql_where .= " and it_name like '%$sch_word%' ";
$sql_select = " select it_id as t_id, it_name as t_name ";
$sql_order = " order by it_name ";