Changeset 21442 for branches/version-2_12-dev/data/class/pages/products
- Timestamp:
- 2012/02/06 11:27:03 (12 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/products
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php
r21441 r21442 164 164 case "add_favorite": 165 165 // ログイン中のユーザが商品をお気に入りにいれる処理 166 if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0 166 if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0) { 167 167 $this->arrErr = $this->lfCheckError($this->mode,$this->objFormParam); 168 168 if (count($this->arrErr) == 0) { … … 176 176 case "add_favorite_sphone": 177 177 // ログイン中のユーザが商品をお気に入りにいれる処理(スマートフォン用) 178 if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0 178 if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0) { 179 179 $this->arrErr = $this->lfCheckError($this->mode,$this->objFormParam); 180 180 if (count($this->arrErr) == 0) { -
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_List.php
r21441 r21442 427 427 // 分割したキーワードを一つずつwhere文に追加 428 428 foreach ($names as $val) { 429 if (strlen($val) > 0 429 if (strlen($val) > 0) { 430 430 $searchCondition['where'] .= " AND ( alldtl.name ILIKE ? OR alldtl.comment3 ILIKE ?) "; 431 431 $searchCondition['arrval'][] = "%$val%";
Note: See TracChangeset
for help on using the changeset viewer.