Ignore:
Timestamp:
2011/02/27 01:13:17 (16 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/SC_Customer.php

    r20384 r20428  
    262262    function isBirthMonth() { 
    263263        if (isset($_SESSION['customer']['birth'])) { 
    264             $arrRet = split("[- :/]", $_SESSION['customer']['birth']); 
     264            $arrRet = preg_split("|[- :/]|", $_SESSION['customer']['birth']); 
    265265            $birth_month = intval($arrRet[1]); 
    266266            $now_month = intval(date("m")); 
Note: See TracChangeset for help on using the changeset viewer.