summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-12-18 09:07:42 +0000
committersvncommit <devs@roundcube.net>2006-12-18 09:07:42 +0000
commit04d6304b4d1b272d5cd533abfbc2240d8ce77c38 (patch)
treedc31178d74f761e4afc1c544ced03b6a55276eed /program/lib
parenta7d5c6480cdef191b04e71005ffea0e35b84ac24 (diff)
If the message is single mime part and non-text, show it as an empty message with an attachment, instead of not displaying anything at all.
Diffstat (limited to 'program/lib')
-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 ad6561ed7..75c2d40d9 100644
--- a/program/lib/mime.inc
+++ b/program/lib/mime.inc
@@ -108,7 +108,7 @@ function iml_GetPartArray($a, $part){
}
//echo "s - part: $part rest: $rest array: ".implode(" ", $a)."<br>\n";
if (is_array($a[$part-1])) return $a[$part-1];
- else return false;
+ else return $a;
}else if (($part==0) || (empty($part))){
return $a;
}