Changeset 22862


Ignore:
Timestamp:
2013/06/19 16:57:07 (4 years ago)
Author:
m_uehara
Message:

#2265 商品一覧エスケープ漏れ対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_List.php

    r22796 r22862  
    403403                $arrProducts[$key]['quantity']          = $arrForm['quantity']; 
    404404                $arrProducts[$key]['arrErr']            = $arrErr; 
    405                 $js_fnOnLoad .= "fnSetClassCategories(document.product_form{$arrProducts[$key]['product_id']}, '{$arrForm['classcategory_id2']}');"; 
     405                $classcategory_id2 = SC_Utils_Ex::jsonEncode($arrForm['classcategory_id2']); 
     406                $js_fnOnLoad .= "fnSetClassCategories(document.product_form{$arrProducts[$key]['product_id']}, {$classcategory_id2});"; 
    406407            } 
    407408        } 
Note: See TracChangeset for help on using the changeset viewer.