Changeset 19723


Ignore:
Timestamp:
2010/12/15 00:02:18 (11 years ago)
Author:
Seasoft
Message:

#635(処理の単純化)

File:
1 edited

Legend:

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

    r19692 r19723  
    456456 
    457457        foreach ($arrMobileMailDomains as $domain) { 
    458             $domain = str_replace('.', '\\.', $domain); 
     458            $domain = preg_quote($domain, '/'); 
    459459            if (preg_match("/@([^@]+\\.)?$domain\$/", $address)) { 
    460460                return true; 
Note: See TracChangeset for help on using the changeset viewer.