From: Robert Sesek Date: Mon, 14 Jan 2008 21:12:10 +0000 (-0500) Subject: Fixing another bug in BSPrinterRootElementPage in paint() that was still making refer... X-Git-Tag: 3.0.0~18 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=711ee30eae7bf96329c3cb22d7b9062b0773791d;p=isso.git 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 --- 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();