diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-01-15 18:18:11 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-01-15 18:18:11 +0100 |
commit | b5b76d2ccb8e28183c078d242e1530508b2686ae (patch) | |
tree | d3c2dacc05ae4a194e9cb00c8e673a6cb90fc261 /program/steps/mail/show.inc | |
parent | 174257d677c49eb613b7623d1fc83d4658b50b9a (diff) |
Make sure mimetypes is an array not object in a better way
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r-- | program/steps/mail/show.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 64e628880..3495df9c0 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -79,7 +79,7 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) { } } - $OUTPUT->set_env('mimetypes', $mimetypes); + $OUTPUT->set_env('mimetypes', array_values($mimetypes)); if ($CONFIG['drafts_mbox']) $OUTPUT->set_env('drafts_mailbox', $CONFIG['drafts_mbox']); |