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/expressoMail1_2/inc/show_user_photo.php

    r5509 r5928  
    2323        $mail = $_GET['mail']; 
    2424         
    25         if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$", $mail)) 
     25        if (!preg_match('/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$/i', $mail)) 
    2626                exit; 
    2727         
Note: See TracChangeset for help on using the changeset viewer.