From ceda3a28c5c795cb001fafe46f74ec90f102f4a0 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 14 Jan 2008 16:08:43 -0500 Subject: [PATCH] Fixing a bug in BSPrinterRootElementPage that would cause an error whenever we tried to paint children * PrinterRootElementPage.php: (BSPrinterRootElementPage::_paintChildren): We use the var builder not this->builder --- PrinterRootElementPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PrinterRootElementPage.php b/PrinterRootElementPage.php index eb18411..c574ede 100644 --- a/PrinterRootElementPage.php +++ b/PrinterRootElementPage.php @@ -273,10 +273,10 @@ class BSPrinterRootElementPage extends BSPrinterRootElement foreach ($this->children AS $child) { - $this->builder .= "\n" . $child->paint() . "\n"; + $builder .= "\n" . $child->paint() . "\n"; } - return $this->builder; + return $builder; } // ################################################################### -- 2.43.5