glukomonter
New Member
If I set option "Max. Attachments per Document Section" other than 0, this limit is not applied, it's possible to load unlimited attachments for section. In function getAttachmentConstraintsForSections (file /Model/Category.php) in return array line
'count' => $options->xfa_dm_attachmentMaxPerSection
should be changed to
'count' => $options->xfa_dm_attachmentMaxPerDocumentSection
because option ID is xfa_dm_attachmentMaxPerDocumentSection, not xfa_dm_attachmentMaxPerSection.
'count' => $options->xfa_dm_attachmentMaxPerSection
should be changed to
'count' => $options->xfa_dm_attachmentMaxPerDocumentSection
because option ID is xfa_dm_attachmentMaxPerDocumentSection, not xfa_dm_attachmentMaxPerSection.