summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-15 18:18:11 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-17 08:38:40 +0100
commita03c28a22f194c3cbaee46abd8def0d7b8fa7e60 (patch)
treeb90ec6cb175833b3dcaf14a548bca5566e7cdad1 /program/steps
parent2080feca9367c057590835df12f5ebe6da8c1e9c (diff)
Make sure mimetypes is an array not object in a better way
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/show.inc2
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']);