summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-01 17:24:09 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-01 17:24:09 +0200
commit5a8ee396a15085941257d66751164d0fa5027843 (patch)
tree99571ecfb81ddc1959e45a49dfe558ccf598bde9 /program
parentbfcfbd11547e4590a6fb772ce5c40b698391568f (diff)
Fix "PHP Warning: Missing argument 1 for rcmail_compose_attachment_field()"
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
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[]';