Ignore:
Timestamp:
2011/09/20 17:24:29 (9 years ago)
Author:
nanasess
bzr:base-revision:
svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_11-dev:21244
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/class/SC_Product.php 18277@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fcomu-ver2%2Fdata%2Fclass%2FSC_Product.php
bzr:mapping-version:
v4
bzr:merge:

ohkouchi@loop-az.jp-20110920082336-kbjxgfxnm9a19o7c
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20110920082425-k0m91dj38ewne98f
bzr:revno:
3943
bzr:revprop:branch-nick:
branches/version-2_11-dev
bzr:root:
branches/version-2_11-dev
bzr:testament:

bazaar-ng testament short form 2.1
revision-id: ohkouchi@loop-az.jp-20110920082425-k0m91dj38ewne98f
sha1: 533e6289a8f264cee0ddd0bec8ff634dde2f40cd
bzr:text-parents:

data/class/SC_Product.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_11-dev:21239
bzr:timestamp:
2011-09-20 17:24:25.947999954 +0900
bzr:user-agent:
bzr2.4.0+bzr-svn1.1.0
Message:

#1280 (PECL json 使用時, 規格2のプルダウンが表示されない)

  • 空白キーの配列が生成されないよう修正
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/SC_Product.php

    r21239 r21245  
    213213 
    214214            $classCats1 = array(); 
    215             $classCats1[''] = '選択してください'; 
     215            $classCats1['__unselected'] = '選択してください'; 
    216216 
    217217            // 規格1クラス名 
     
    234234            $this->stock_find[$productId] = false; 
    235235            $classCategories = array(); 
    236             $classCategories['']['']['name'] = '選択してください'; 
    237             $classCategories['']['']['product_class_id'] = $arrProductClass[0]['product_class_id']; 
     236            $classCategories['__unselected']['__unselected']['name'] = '選択してください'; 
     237            $classCategories['__unselected']['__unselected']['product_class_id'] = $arrProductClass[0]['product_class_id']; 
    238238            // 商品種別 
    239             $classCategories['']['']['product_type'] = $arrProductClass[0]['product_type_id']; 
     239            $classCategories['__unselected']['__unselected']['product_type'] = $arrProductClass[0]['product_type_id']; 
    240240            $this->product_class_id[$productId] = $arrProductClass[0]['product_class_id']; 
    241241            // 商品種別 
Note: See TracChangeset for help on using the changeset viewer.