src/reportlab/platypus/doctemplate.py
changeset 4492 c0721260ecc1
parent 4482 f262640d9843
child 4498 fe619935e3ea
--- a/src/reportlab/platypus/doctemplate.py	Thu Apr 04 12:52:18 2019 +0100
+++ b/src/reportlab/platypus/doctemplate.py	Thu Apr 04 12:54:19 2019 +0100
@@ -659,8 +659,9 @@
         '''What to do at the beginning of a frame'''
         f = self.frame
         if f._atTop:
-            if self.showBoundary or self.frame.showBoundary:
-                self.frame.drawBoundary(self.canv)
+            boundary = self.frame.showBoundary or self.showBoundary
+            if boundary:
+                self.frame.drawBoundary(self.canv,boundary)
         f._leftExtraIndent = self._leftExtraIndent
         f._rightExtraIndent = self._rightExtraIndent
         f._frameBGs = self._frameBGs