Ignore:
Timestamp:
2014/01/13 17:31:57 (10 years ago)
Author:
undertree
Message:

#2411 非会員購入時に生年月日が登録されない。受注編集画面のエラー処理を修正.

File:
1 edited

Legend:

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

    r23300 r23323  
    643643        $arrErrTemp = array_merge($arrErrTemp, $arrErrDate); 
    644644 
     645        // 複数項目チェック 
     646        $year = $arrValues['order_birth_year']; 
     647        $month = $arrValues['order_birth_month']; 
     648        $day = $arrValues['order_birth_day']; 
     649        $objError = new SC_CheckError_Ex(array('order_birth_year' => $year, 
     650                                               'order_birth_month' => $month, 
     651                                               'order_birth_day' => $day)); 
     652        $objError->doFunc(array('生年月日', 'order_birth_year', 'order_birth_month', 'order_birth_day'), 
     653                          array('CHECK_BIRTHDAY')); 
     654        $arrErrTemp['order_birth_year'] = $objError->arrErr['order_birth_year']; 
     655 
    645656        // 商品の種類数 
    646657        $max = count($arrValues['quantity']); 
Note: See TracChangeset for help on using the changeset viewer.