Changeset 23466


Ignore:
Timestamp:
2014/05/30 10:48:45 (7 years ago)
Author:
pineray
Message:

#2448 typo修正・ソース整形・ソースコメントの改善 for 2.13.3

お気に入り登録のエラーチェックを再度修正.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_Detail.php

    r23461 r23466  
    496496            $objErr = new SC_CheckError_Ex(); 
    497497            $customer_id = $objCustomer->getValue('customer_id'); 
    498             $favorite_product_id = $objCustomer->getValue('favorite_product_id'); 
     498            $favorite_product_id = $objFormParam->getValue('favorite_product_id'); 
    499499            if (SC_Helper_DB_Ex::sfDataExists('dtb_customer_favorite_products', 'customer_id = ? AND product_id = ?', array($customer_id, $favorite_product_id))) { 
    500500                $objErr->arrErr['add_favorite'.$favorite_product_id] = '※ この商品は既にお気に入りに追加されています。<br />'; 
Note: See TracChangeset for help on using the changeset viewer.