Ignore:
Timestamp:
2011/02/27 01:13:17 (13 years ago)
Author:
shutta
Message:

refs #515
PHP5.3での非推奨関数split()をexplode(),preg_split()へ置き換え。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php

    r20411 r20428  
    186186        // 誕生日を年月日に分ける 
    187187        if (isset($arrForm['birth'])){ 
    188             $birth = split(" ", $arrForm["birth"]); 
    189             list($arrForm['year'], $arrForm['month'], $arrForm['day']) = split("-",$birth[0]); 
     188            $birth = explode(" ", $arrForm["birth"]); 
     189            list($arrForm['year'], $arrForm['month'], $arrForm['day']) = explode("-",$birth[0]); 
    190190        } 
    191191 
Note: See TracChangeset for help on using the changeset viewer.