summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-12-21 20:49:33 +0100
committerGreg Aker <greg.aker@ellislab.com>2010-12-21 20:49:33 +0100
commitccbfbf60b6b1433dbc7d533443cdb433f837da8b (patch)
treea39b1171c459c50e605de1850f7652bfac335c3c /system/libraries
parent9730c75373afbb9b4c9310d3235bdb74adb5b1b2 (diff)
Fix #85 error in db queries in the output profiler.
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Profiler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
index e7d88b665..8dca22174 100644
--- a/system/libraries/Profiler.php
+++ b/system/libraries/Profiler.php
@@ -182,7 +182,7 @@ class CI_Profiler {
{
$output .= '<fieldset style="border:1px solid #0000FF;padding:6px 10px 10px 10px;margin:20px 0 20px 0;background-color:#eee">';
$output .= "\n";
- $output .= '<legend style="color:#0000FF;">&nbsp;&nbsp;'.$this->CI->lang->line('profiler_database').':&nbsp; '.$db->database.'&nbsp;&nbsp;&nbsp;'.$this->CI->lang->line('profiler_queries').': '.count($this->CI->db->queries).'&nbsp;&nbsp;&nbsp;</legend>';
+ $output .= '<legend style="color:#0000FF;">&nbsp;&nbsp;'.$this->CI->lang->line('profiler_database').':&nbsp; '.$db->database.'&nbsp;&nbsp;&nbsp;'.$this->CI->lang->line('profiler_queries').': '.count($db->queries).'&nbsp;&nbsp;&nbsp;</legend>';
$output .= "\n";
$output .= "\n\n<table style='width:100%;'>\n";