Ignore:
Timestamp:
03/21/12 14:00:25 (12 years ago)
Author:
gustavo
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.auth_ldap.inc.php

    r5141 r5773  
    3131                function authenticate($username, $passwd) 
    3232                { 
    33                         if (ereg('[()|&=*,<>!~]',$username)) 
     33                        if (preg_match('/[()|&=*,<>!~]/',$username)) 
    3434                        { 
    3535                                return False; 
Note: See TracChangeset for help on using the changeset viewer.