diff options
| author | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-12-18 09:07:42 +0000 |
|---|---|---|
| committer | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-12-18 09:07:42 +0000 |
| commit | 48a5e46f62a5da5b282a11dceefeeef5b79564f9 (patch) | |
| tree | d9ba6d384f5777f5528f5a7fcef3cf48d22e6237 /roundcubemail/program/lib | |
| parent | 69bb5dd8808a57cadde7a419a1abd9edde4e3994 (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.
git-svn-id: https://svn.roundcube.net/trunk@413 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib')
| -rw-r--r-- | roundcubemail/program/lib/mime.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/mime.inc b/roundcubemail/program/lib/mime.inc index ad6561ed7..75c2d40d9 100644 --- a/roundcubemail/program/lib/mime.inc +++ b/roundcubemail/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; } |
