From 5a8ee396a15085941257d66751164d0fa5027843 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 01 Sep 2013 11:24:09 -0400 Subject: [PATCH] Fix "PHP Warning: Missing argument 1 for rcmail_compose_attachment_field()" --- program/steps/mail/compose.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 7068a25..f3ff19d 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -1434,7 +1434,7 @@ } -function rcmail_compose_attachment_field($attrib) +function rcmail_compose_attachment_field($attrib = array()) { $attrib['type'] = 'file'; $attrib['name'] = '_attachments[]'; -- Gitblit v1.9.1