Ignore:
Timestamp:
04/11/12 12:04:21 (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.network.inc.php

    r2 r5912  
    164164                        } 
    165165                        $response = $this->read_port(); 
    166                         if(!ereg(strtoupper($expected_response),strtoupper($response))) 
     166                        if(!preg_match('/'.strtoupper($expected_response).'/',strtoupper($response))) 
    167167                        { 
    168168                                if(substr($expected_response,1,1) == '+') 
Note: See TracChangeset for help on using the changeset viewer.