Changeset 17955
- Timestamp:
- 2009/04/08 21:49:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_Favorite.php
r17519 r17955 95 95 } 96 96 97 $col = "all cls.*";98 $from = "dtb_customer_favorite_products AS dcfp LEFT JOIN vw_products_allclass AS allclsUSING(product_id)";97 $col = "alldtl.*"; 98 $from = "dtb_customer_favorite_products AS dcfp LEFT JOIN vw_products_allclass_detail AS alldtl USING(product_id)"; 99 99 100 $where = "all cls.del_flg = 0 AND allcls.status = 1 AND dcfp.customer_id = ?";100 $where = "alldtl.del_flg = 0 AND alldtl.status = 1 AND dcfp.customer_id = ?"; 101 101 // 在庫無し商品の非表示 102 102 if (NOSTOCK_HIDDEN === true) { 103 $where .= ' AND (all cls.stock_max >= 1 OR allcls.stock_unlimited_max = 1)';103 $where .= ' AND (alldtl.stock_max >= 1 OR alldtl.stock_unlimited_max = 1)'; 104 104 } 105 105
Note: See TracChangeset
for help on using the changeset viewer.