What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Fixed Limit "Max. Attachments per Document Section" is not applied


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.


Freaky Coder
Staff member
I might have changed the id but forgot to change.

Thanks, your findings are very useful.