Changeset 23272


Ignore:
Timestamp:
2013/11/18 11:19:16 (8 years ago)
Author:
michael_nelson
Message:

#2443 商品管理>商品登録】商品登録時のチェックに不備

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_1/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php

    r23260 r23272  
    565565    { 
    566566        $arrForm = $objFormParam->getHashArray(); 
    567         $arrForm['category_id'] = unserialize($arrForm['category_id']); 
     567        $arrForm['category_id'] = SC_Utils_Ex::jsonDecode($arrForm['category_id']); 
    568568        $objFormParam->setValue('category_id', $arrForm['category_id']); 
    569569 
     
    587587 
    588588        if (isset($arrForm['category_id']) && !is_array($arrForm['category_id'])) { 
    589             $arrForm['category_id'] = unserialize($arrForm['category_id']); 
     589            $arrForm['category_id'] = SC_Utils_Ex::jsonDecode($arrForm['category_id']); 
    590590        } 
    591591        $this->tpl_json_category_id = !empty($arrForm['category_id']) ? SC_Utils_Ex::jsonEncode($arrForm['category_id']) : SC_Utils_Ex::jsonEncode(array()); 
     
    638638        $arrForm['arrCategoryId'] = $arrForm['category_id']; 
    639639        // hidden に渡す値は serialize する 
    640         $arrForm['category_id'] = serialize($arrForm['category_id']); 
     640        $arrForm['category_id'] = SC_Utils_Ex::jsonEncode($arrForm['category_id']); 
    641641        // 画像ファイル用データ取得 
    642642        $arrForm['arrFile'] = $objUpFile->getFormFileList(IMAGE_TEMP_URLPATH, IMAGE_SAVE_URLPATH); 
Note: See TracChangeset for help on using the changeset viewer.