Changeset 22972


Ignore:
Timestamp:
2013/07/20 13:39:45 (11 years ago)
Author:
tokuhiro
Message:

#2297 お気に入り追加時のフックポイントの呼び出しの条件を修正

File:
1 edited

Legend:

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

    r22960 r22972  
    533533            $this->arrErr = $this->lfCheckError($this->mode,$this->objFormParam); 
    534534            if (count($this->arrErr) == 0) { 
    535                 if (!$this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))) { 
     535                if ($this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))) { 
    536536                    $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    537537                    $objPlugin->doAction('LC_Page_Products_Detail_action_add_favorite', array($this)); 
    538  
    539                     SC_Response_Ex::actionExit(); 
    540538                } 
    541539            } 
     
    558556                    $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    559557                    $objPlugin->doAction('LC_Page_Products_Detail_action_add_favorite_sphone', array($this)); 
    560  
    561558                    print 'true'; 
    562559                    SC_Response_Ex::actionExit(); 
Note: See TracChangeset for help on using the changeset viewer.