[Svn-src-all:1388] [version-2_5-dev 20278] #1010 カテゴリ登録CSVリファクタリング

adachi admin @ mail.ec-cube.net
2011年 2月 21日 (月) 01:38:42 JST


Subversion committed to /home/svn/open 20278
http://svn.ec-cube.net/open_trac/changeset/20278
┌────────────────────────────┐
│更新者 :  adachi                                       │
│更新日時:  2011-02-21 01:38:41 +0900 (月, 21  2月 2011)│
└────────────────────────────┘

Log:
--------------------------------------------------------
#1010 カテゴリ登録CSVリファクタリング

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

変更: branches/version-2_5-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Category.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Category.php	2011-02-20 16:33:29 UTC (rev 20277)
+++ branches/version-2_5-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Category.php	2011-02-20 16:38:41 UTC (rev 20278)
@@ -325,7 +325,7 @@
         }
 
         // 階層上限チェック
-        if ($this->isOverLevel()) {
+        if ($this->isOverLevel($objFormParam->getValue('parent_category_id')) {
             $this->arrErr['category_name']  = "※ " . LEVEL_MAX . "階層以上の登録はできません。<br/>";
             $this->arrForm['category_name'] = $objFormParam->getValue('category_name');
             return;




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