From 0d25435469ed1a62fb48554aa337ed2ad08c6f0b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 19 Aug 2007 20:34:03 +0000 Subject: [PATCH] Fixing more instances of BSApp::GetType() * Template.php: (BSTemplate::flush) --- Template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Template.php b/Template.php index 15d028c..48da87d 100644 --- a/Template.php +++ b/Template.php @@ -263,9 +263,9 @@ class BSTemplate $debugBlock .= "
Uncached Templates:" . implode(', ', $tpls) . " )
\n"; } - if (BSApp::GetType('Db')) + if (BSApp::Registry()->getType('Db')) { - $queries = BSApp::GetType('Db')->getHistory(); + $queries = BSApp::Registry()->getType('Db')->getHistory(); $debugBlock .= "
\n" . '' . "\n\t" . ''; @@ -278,9 +278,9 @@ class BSTemplate $debugBlock .= "\n
Query Debug
\n\n\n"; } + + $template = str_replace('', $debugBlock . '', $template); } - - $template = str_replace('', $debugBlock . '', $template); print($template); } -- 2.43.5