Ignore:
Timestamp:
2013/06/28 14:53:23 (7 years ago)
Author:
shutta
Message:

#2277 (エラーチェックのチェック処理の見直し)
r22891,r22904(脆弱性対応)を2_13-devにもコミット。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_FormParam.php

    r22856 r22911  
    290290            } 
    291291        } else { 
    292             $objErr = new SC_CheckError_Ex(array(0 => $value)); 
    293             $objErr->doFunc(array($disp_name, 0, $length), array($func)); 
     292            $objErr = new SC_CheckError_Ex(array(($error_last_key ? $error_last_key : $error_key) => $value)); 
     293            $objErr->doFunc(array($disp_name, ($error_last_key ? $error_last_key : $error_key), $length), array($func)); 
    294294            if (!SC_Utils_Ex::isBlank($objErr->arrErr)) { 
    295295                foreach ($objErr->arrErr as $message) { 
Note: See TracChangeset for help on using the changeset viewer.