[Svn-src-all:1399] [version-2_5-dev 20289] #982 ([フロント]商品)

kotani admin @ mail.ec-cube.net
2011年 2月 21日 (月) 10:43:36 JST


Subversion committed to /home/svn/open 20289
http://svn.ec-cube.net/open_trac/changeset/20289
┌────────────────────────────┐
│更新者 :  kotani                                       │
│更新日時:  2011-02-21 10:43:36 +0900 (月, 21  2月 2011)│
└────────────────────────────┘

Log:
--------------------------------------------------------
#982 ([フロント]商品)
LC_Page_Products_List.php
* 参照渡しとなっている引数に対して、呼び出し側で参照渡ししないよう修正。

Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php

変更: branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php	2011-02-21 01:13:55 UTC (rev 20288)
+++ branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php	2011-02-21 01:43:36 UTC (rev 20289)
@@ -124,7 +124,7 @@
         $this->tpl_linemax = $this->lfGetProductAllNum($arrSearchCondition);
         $urlParam = "category_id={$this->arrSearchData['category_id']}&pageno=#page#";
         $this->objNavi = new SC_PageNavi($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, "fnNaviPage", NAVI_PMAX, $urlParam,SC_Display::detectDevice() !== DEVICE_TYPE_MOBILE);
-        $this->arrProducts = $this->lfGetProductsList($arrSearchCondition,$this->disp_number,$this->objNavi->start_row,$this->tpl_linemax,&$objProduct);
+        $this->arrProducts = $this->lfGetProductsList($arrSearchCondition,$this->disp_number,$this->objNavi->start_row,$this->tpl_linemax,$objProduct);
         //商品一覧の表示処理
         $strnavi = $this->objNavi->strnavi;
         // 表示文字列
@@ -169,13 +169,13 @@
             }
 
             // 入力内容のチェック
-            $arrErr = $this->lfCheckError($target_product_id,&$this->arrForm,$this->tpl_classcat_find1,$this->tpl_classcat_find2);
+            $arrErr = $this->lfCheckError($target_product_id,$this->arrForm,$this->tpl_classcat_find1,$this->tpl_classcat_find2);
             if (count($arrErr) == 0) {
                 $this->lfAddCart($this->arrForm,$this->tpl_classcat_find1,$this->tpl_classcat_find2,$target_product_id,$_SERVER['HTTP_REFERER']);
                 SC_Response_Ex::sendRedirect(CART_URLPATH);
                 exit;
             }
-            $js_fnOnLoad .= $this->lfSetSelectedData(&$this->arrProducts,$this->arrForm,$arrErr,$target_product_id);
+            $js_fnOnLoad .= $this->lfSetSelectedData($this->arrProducts,$this->arrForm,$arrErr,$target_product_id);
         }
 
         // ページャ用データ設定(モバイル)




Svn-src-all メーリングリストの案内