From 711ee30eae7bf96329c3cb22d7b9062b0773791d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 14 Jan 2008 16:12:10 -0500 Subject: [PATCH] Fixing another bug in BSPrinterRootElementPage in paint() that was still making references to GetType() * PrinterRootElementPage.php (BSPrinterRootElementPage::paint): We no longer use GetType() but instead cvars in BSApp --- PrinterRootElementPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PrinterRootElementPage.php b/PrinterRootElementPage.php index c574ede..3130c3e 100644 --- a/PrinterRootElementPage.php +++ b/PrinterRootElementPage.php @@ -328,9 +328,9 @@ class BSPrinterRootElementPage extends BSPrinterRootElement echo "\n
" . BSApp::get_debug_list() . "
\n"; - if (BSApp::GetType('Db')) + if (BSApp::$db) { - $queries = BSApp::GetType('Db')->getHistory(); + $queries = BSApp::$db->getHistory(); $table = new BSPrinterRootElementTable(); $head = new BSPrinterTableElement(); -- 2.22.5