From ccbfbf60b6b1433dbc7d533443cdb433f837da8b Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 21 Dec 2010 13:49:33 -0600 Subject: Fix #85 error in db queries in the output profiler. --- system/libraries/Profiler.php | 2 +- user_guide/changelog.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 .= '
'; $output .= "\n"; - $output .= '  '.$this->CI->lang->line('profiler_database').':  '.$db->database.'   '.$this->CI->lang->line('profiler_queries').': '.count($this->CI->db->queries).'   '; + $output .= '  '.$this->CI->lang->line('profiler_database').':  '.$db->database.'   '.$this->CI->lang->line('profiler_queries').': '.count($db->queries).'   '; $output .= "\n"; $output .= "\n\n\n"; diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 786b90269..0b060da22 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -198,6 +198,7 @@ Hg Tag:

  • Added a log message in core/output if the cache directory config value was not found.
  • Fixed a bug where multiple libraries could not be loaded by passing an array to load->library()
  • Fixed a bug in the html helper where too much white space was rendered between the src and alt tags in the img() function.
  • +
  • Fixed a bug in the profilers _compile_queries() function.
  • Version 1.7.2

    -- cgit v1.2.3-24-g4f1b