- Timestamp:
- 2012/02/15 19:56:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php
r21481 r21514 161 161 162 162 // 取得した表示すべきIDだけを指定して情報を取得。 163 $where = "";163 $where = ''; 164 164 if (is_array($arrProductId) && !empty($arrProductId)) { 165 165 $where = $tablename . 'product_id IN (' . implode(',', $arrProductId) . ')'; … … 179 179 $objQuery =& SC_Query_Ex::getSingletonInstance(); 180 180 181 $exists = $objQuery->exists('dtb_customer_favorite_products', "customer_id = ? AND product_id = ?", array($customer_id, $product_id));181 $exists = $objQuery->exists('dtb_customer_favorite_products', 'customer_id = ? AND product_id = ?', array($customer_id, $product_id)); 182 182 183 183 if ($exists) { 184 $objQuery->delete('dtb_customer_favorite_products', "customer_id = ? AND product_id = ?", array($customer_id, $product_id));184 $objQuery->delete('dtb_customer_favorite_products', 'customer_id = ? AND product_id = ?', array($customer_id, $product_id)); 185 185 } 186 186 }
Note: See TracChangeset
for help on using the changeset viewer.