Changeset 23159


Ignore:
Timestamp:
2013/08/29 22:03:03 (7 years ago)
Author:
h_yoshimoto
Message:

#2297 LC_Page_Products_Detail_action_add_favoriteの呼び出し条件を修正

File:
1 edited

Legend:

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

    r23126 r23159  
    541541            $this->arrErr = $this->lfCheckError($this->mode,$this->objFormParam); 
    542542            if (count($this->arrErr) == 0) { 
    543                 if ($this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))) { 
    544                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    545                     $objPlugin->doAction('LC_Page_Products_Detail_action_add_favorite', array($this)); 
     543                if (!$this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))) { 
     544                    SC_Response_Ex::actionExit();  
    546545                } 
     546                $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
     547                $objPlugin->doAction('LC_Page_Products_Detail_action_add_favorite', array($this)); 
    547548            } 
    548549        } 
Note: See TracChangeset for help on using the changeset viewer.