Fixing another bug in BSPrinterRootElementPage in paint() that was still making refer...
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 14 Jan 2008 21:12:10 +0000 (16:12 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 14 Jan 2008 21:12:10 +0000 (16:12 -0500)
* PrinterRootElementPage.php
(BSPrinterRootElementPage::paint): We no longer use GetType() but instead cvars in BSApp

PrinterRootElementPage.php

index c574ede2d294c73be9e45ae3e07787a9deaacc41..3130c3e8444ceadc159cd716b30f59a3600e6b77 100644 (file)
@@ -328,9 +328,9 @@ class BSPrinterRootElementPage extends BSPrinterRootElement
                                
                                echo "\n<br /><div align=\"center\">" . BSApp::get_debug_list() . "</div>\n";
                                
-                               if (BSApp::GetType('Db'))
+                               if (BSApp::$db)
                                {
-                                       $queries = BSApp::GetType('Db')->getHistory();
+                                       $queries = BSApp::$db->getHistory();
                                        
                                        $table = new BSPrinterRootElementTable();
                                        $head = new BSPrinterTableElement();