From 5a8ee396a15085941257d66751164d0fa5027843 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 1 Sep 2013 17:24:09 +0200 Subject: Fix "PHP Warning: Missing argument 1 for rcmail_compose_attachment_field()" --- program/steps/mail/compose.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 7068a25fd..f3ff19d72 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -1434,7 +1434,7 @@ function rcmail_compose_attachment_form($attrib) } -function rcmail_compose_attachment_field($attrib) +function rcmail_compose_attachment_field($attrib = array()) { $attrib['type'] = 'file'; $attrib['name'] = '_attachments[]'; -- cgit v1.2.3