summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-02-20 17:38:12 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-02-20 17:38:12 +0000
commitf277a3a60f28403fc27de646827603dc1c9e569b (patch)
tree575e5cdb93dce854b075a05cf921cc67a628327c /roundcubemail/program
parent619b374c4906b18e3350f3d872753bf8408d4b06 (diff)
Another PHP 5.3 compatibility fix (similar to r2591)
git-svn-id: https://svn.roundcube.net/trunk@3276 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/lib/mime.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/mime.inc b/roundcubemail/program/lib/mime.inc
index 860edbff2..cb4f7285d 100644
--- a/roundcubemail/program/lib/mime.inc
+++ b/roundcubemail/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";