Changeset 22928


Ignore:
Timestamp:
2013/06/30 16:57:51 (7 years ago)
Author:
kimoto
Message:

#2275 PHP5.5対応
ereg_replaceをpreg_replaceに変更

Location:
branches/version-2_13-dev/data/class
Files:
2 edited

Legend:

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

    r22856 r22928  
    6161            $this->setWhere('(' . $dbFactory->concatColumn(array('name01', 'name02')) . ' LIKE ?)'); 
    6262            $searchName = $this->addSearchStr($this->arrSql['search_name']); 
    63             $this->arrVal[] = mb_ereg_replace('[  ]+','',$searchName); 
     63            $this->arrVal[] = preg_replace('/[  ]+/u','',$searchName); 
    6464        } 
    6565 
     
    6969            $this->setWhere('(' . $dbFactory->concatColumn(array('kana01', 'kana02')) . ' LIKE ?)'); 
    7070            $searchKana = $this->addSearchStr($this->arrSql['search_kana']); 
    71             $this->arrVal[] = mb_ereg_replace('[  ]+','',$searchKana); 
     71            $this->arrVal[] = preg_replace('/[  ]+/u','',$searchKana); 
    7272        } 
    7373 
  • branches/version-2_13-dev/data/class/pages/admin/total/LC_Page_Admin_Total.php

    r22926 r22928  
    404404 
    405405            foreach ($arrList as $key => $value) { 
    406                 $arrKey[] = mb_ereg_replace('~', '-', $key); 
     406                $arrKey[] = preg_replace('/~/u', '-', $key); 
    407407            } 
    408408 
Note: See TracChangeset for help on using the changeset viewer.