Ignore:
Timestamp:
04/11/12 12:07:11 (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/phpgwapi/inc/class.validator.inc.php

    r2 r5913  
    2929                function has_space ($text) 
    3030                { 
    31                         return ereg("( |\n|\t|\r)+", $text); 
     31                        return preg_match('/( |\n|\t|\r)+/', $text); 
    3232                } 
    3333 
Note: See TracChangeset for help on using the changeset viewer.