Changeset 18609 for tmp/version-2_5-test/data/class/pages/admin/contents/LC_Page_Admin_Contents_CampaignCreateTag.php
- Timestamp:
- 2010/03/11 10:35:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/class/pages/admin/contents/LC_Page_Admin_Contents_CampaignCreateTag.php
r17500 r18609 47 47 $this->tpl_mainno = 'create'; 48 48 $this->tpl_subtitle = '商品設定'; 49 $this->allowClientCache();50 49 } 51 50 … … 94 93 break; 95 94 case 'search_product_id': 96 if($val != "") { 97 $where .= " AND product_id = ?"; 98 if(!SC_Utils_Ex::sfIsInt($val)) $val = 0; 99 $arrval[] = $val; 100 } 95 $where .= " AND product_id IN (SELECT product_id FROM dtb_products_class WHERE product_code LIKE ? GROUP BY product_id)"; 96 $arrval[] = "$val%"; 101 97 break; 102 98 default:
Note: See TracChangeset
for help on using the changeset viewer.