Changeset 23121


Ignore:
Timestamp:
2013/08/24 10:43:36 (7 years ago)
Author:
Qwert
Message:

#2178 r22618で発生するようになったエラーを修正。

File:
1 edited

Legend:

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

    r22979 r23121  
    589589            $arrForm['category_id'] = unserialize($arrForm['category_id']); 
    590590        } 
    591         $this->tpl_json_category_id = SC_Utils_Ex::jsonEncode($arrForm['category_id']); 
     591        $this->tpl_json_category_id = !empty($arrForm['category_id']) ? SC_Utils_Ex::jsonEncode($arrForm['category_id']) : SC_Utils_Ex::jsonEncode(array()); 
    592592        if ($arrForm['status'] == '') { 
    593593            $arrForm['status'] = DEFAULT_PRODUCT_DISP; 
Note: See TracChangeset for help on using the changeset viewer.