Ignore:
Timestamp:
08/11/10 12:34:46 (22 months ago)
Author:
benedikt
Message:
  • [TOOLS] Fixed #2053: Make ispCP ω PHP 5.3 compatible (part III): Made Squirrelmail Plugins PHP 5.3 compatible
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/tools/webmail/plugins/preview_pane/source_files/read_body.php-squirrelmail-1.5.1

    r1638 r3189  
    150150    // This merely comes from compose.php and only happens when there is no 
    151151    // email_addr specified in user's identity (which is the startup config) 
    152     if (ereg("^([^@%/]+)[@%/](.+)$", $username, $usernamedata)) { 
     152        /* @author ispCP PHP5.3 Compatibility Change */ 
     153    if (preg_match("/^([^@%\/]+)[@%\/](.+)$/", $username, $usernamedata)) { 
    153154       $popuser = $usernamedata[1]; 
    154155       $domain  = $usernamedata[2]; 
Note: See TracChangeset for help on using the changeset viewer.