Changeset 21663


Ignore:
Timestamp:
2012/03/20 01:42:36 (9 years ago)
Author:
Seasoft
Message:

#1605 (PHP4向けコードの除去、PHP5向けのコード最適化)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/cart/LC_Page_Cart.php

    r21596 r21663  
    160160        $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 
    161161        $totalIncTax = 0; 
    162         foreach (array_keys($this->cartKeys) as $index) { 
    163             $key = $this->cartKeys[$index]; 
     162        foreach ($this->cartKeys as $key) { 
    164163            // カート集計処理 
    165164            $this->tpl_message = $objCartSess->checkProducts($key); 
     
    177176            // 送料無料までの金額を計算 
    178177            $this->tpl_deliv_free[$key] = $this->arrInfo['free_rule'] - $this->tpl_total_inctax[$key]; 
    179             if (SC_Utils_Ex::isBlank($key)) { 
    180                 unset($this->cartKeys[$index]); 
    181             } 
    182178        } 
    183179 
Note: See TracChangeset for help on using the changeset viewer.