Ignore:
Timestamp:
04/11/12 17:21:30 (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/workflow/inc/local/classes/class.wf_regex.php

    r795 r5921  
    523523        { 
    524524                if ( $caseSensitive ) 
    525                         return( ereg( $pattern, (string) $input ) ); 
     525                        return( preg_match("/$pattern/", (string) $input ) ); 
    526526                else 
    527527                        return( eregi( $pattern, (string) $input ) ); 
Note: See TracChangeset for help on using the changeset viewer.