Skip to content

Commit

Permalink
use lowercase for portaltype class in body tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTango committed Jul 17, 2024
1 parent a4eeba4 commit 3aab293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/pdfexport/views/pdf_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __call__(self):
self.context_view = getMultiAdapter((ctx, self.request), name=view_name)
alsoProvides(self.context_view, IViewView)

self.portal_type = self.context.portal_type
self.portal_type = self.context.portal_type.lower()

# disable batching for PDF export
self.context_view._b_size = 100000
Expand Down

0 comments on commit 3aab293

Please sign in to comment.