From 8b4a885bb12ae59768583846752340b2b05c8ec1 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 30 Aug 2005 00:36:48 +0000 Subject: [PATCH] Correction, now it's fixed --- template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.php b/template.php index 11bbc2f..64b6661 100644 --- a/template.php +++ b/template.php @@ -292,7 +292,7 @@ class DB_Template $debug .= "\n\t
  • Source Control: $scinfo
  • "; // query information - if (is_object($_isso->db)) + if (isset($_isso->db) AND is_object($_isso->db)) { $debug .= "\n\t
  • Total Queries: " . sizeof($_isso->db->history) . " (sanitize($_SERVER['REQUEST_URI']) . ((strpos($_SERVER['REQUEST_URI'], '?') !== false) ? '&query=1' : '?query=1') . "\">?)
  • "; } -- 2.43.5