Changeset 3276 in subversion


Ignore:
Timestamp:
Feb 20, 2010 12:38:12 PM (3 years ago)
Author:
thomasb
Message:

Another PHP 5.3 compatibility fix (similar to r2591)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/lib/mime.inc

    r2591 r3276  
    112112                return iml_GetPartArray($a[$part-1], $rest); 
    113113        }else if ($part>0){ 
    114                 if ((strcasecmp($a[0], "message")==0) && (strcasecmp($a[1], "rfc822")==0)){ 
     114                if (!is_array($a[0]) && (strcasecmp($a[0], "message")==0) && (strcasecmp($a[1], "rfc822")==0)){ 
    115115                        $a = $a[8]; 
    116116                } 
Note: See TracChangeset for help on using the changeset viewer.