Changeset 5928 for trunk/mobile


Ignore:
Timestamp:
04/12/12 11:15:33 (12 years ago)
Author:
marcosw
Message:

Ticket #2398 - Compatibilizacao com PHP-5.3 em alguns módulos do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mobile/inc/class.ui_mobilecc.inc.php

    r5043 r5928  
    913913                                $pattern = "^[a-z0-9_\.\-]+@[a-z0-9_\.\-]*[a-z0-9_\-]+\.[a-z]{2,4}$"; 
    914914 
    915                                 if (!eregi($pattern, $data['email'])){ 
     915                                if (!preg_match("/$pattern/i", $data['email'])){ 
    916916                                        $valid = lang('invalid field e-mail'); 
    917917                                } 
Note: See TracChangeset for help on using the changeset viewer.