Changeset 23367


Ignore:
Timestamp:
2014/04/16 15:08:48 (8 years ago)
Author:
Seasoft
Message:

#2526 (dtb_review.customer_id 値セットされていない)

File:
1 edited

Legend:

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

    r23124 r23367  
    189189    { 
    190190        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     191        $objCustomer = new SC_Customer_Ex(); 
     192 
    191193        $arrRegist = $objFormParam->getDbArray(); 
    192194 
     
    194196        $arrRegist['update_date'] = 'CURRENT_TIMESTAMP'; 
    195197        $arrRegist['creator_id'] = '0'; 
     198 
     199        if ($objCustomer->isLoginSuccess(true)) { 
     200            $arrRegist['customer_id'] = $objCustomer->getValue('customer_id'); 
     201        } 
    196202 
    197203        //-- 登録実行 
Note: See TracChangeset for help on using the changeset viewer.