Skip to content
Snippets Groups Projects
Commit 131ebd50 authored by Ravish Nair's avatar Ravish Nair
Browse files

-- fix for CRM-10993

parent 6a95930f
Branches
Tags
No related merge requests found
......@@ -374,6 +374,7 @@
// add attachments
for ($i = 1; $i <= $numAttachments; $i++) {
$form->addElement('file', "attachFile_$i", ts('Attach File'), 'size=30 maxlength=60');
$form->addUploadElement("attachFile_$i");
$form->setMaxFileSize($maxFileSize * 1024 * 1024);
$form->addRule("attachFile_$i",
ts('File size should be less than %1 MByte(s)',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment