summaryrefslogtreecommitdiff
path: root/program/lib/mime.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-02-20 17:38:12 +0000
committerthomascube <thomas@roundcube.net>2010-02-20 17:38:12 +0000
commit6c609b925bb10f4e1fe79ac7ba599f46eea14d0e (patch)
treebe53218534be6ea017a7e753fe6d0d8b3e4206d7 /program/lib/mime.inc
parent29640bcfa918e9c63d6b29c25d67dc361d20bcca (diff)
Another PHP 5.3 compatibility fix (similar to r2591)
Diffstat (limited to 'program/lib/mime.inc')
-rw-r--r--program/lib/mime.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/mime.inc b/program/lib/mime.inc
index 860edbff2..cb4f7285d 100644
--- a/program/lib/mime.inc
+++ b/program/lib/mime.inc
@@ -111,7 +111,7 @@ function iml_GetPartArray($a, $part){
//echo "m - part: $original_part current: $part rest: $rest array: ".implode(" ", $a)."<br>\n";
return iml_GetPartArray($a[$part-1], $rest);
}else if ($part>0){
- if ((strcasecmp($a[0], "message")==0) && (strcasecmp($a[1], "rfc822")==0)){
+ if (!is_array($a[0]) && (strcasecmp($a[0], "message")==0) && (strcasecmp($a[1], "rfc822")==0)){
$a = $a[8];
}
//echo "s - part: $part rest: $rest array: ".implode(" ", $a)."<br>\n";