Ignore:
Timestamp:
04/12/12 15:18:08 (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/xml_functions.inc.php

    r5912 r5934  
    153153                        if (preg_match('/^([#a-zA-Z0-9]+);/', $top[$i], $regs)) 
    154154                        { 
    155                                 $op .= ereg_replace("^[#a-zA-Z0-9]+;", 
     155                                $op .= preg_replace('/^[#a-zA-Z0-9]+;/', 
    156156                                        xmlrpc_lookup_entity($regs[1]), $top[$i]); 
    157157                        } 
     
    360360                                break; 
    361361                        case 'METHODNAME': 
    362                                 $GLOBALS['_xh'][$parser]['method']=ereg_replace("^[\n\r\t ]+", "", $GLOBALS['_xh'][$parser]['ac']); 
     362                                $GLOBALS['_xh'][$parser]['method']=preg_replace('/^[\n\r\t ]+/', '', $GLOBALS['_xh'][$parser]['ac']); 
    363363                                break; 
    364364                        case 'BOOLEAN': 
Note: See TracChangeset for help on using the changeset viewer.