summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorTim <vampik@gmail.com>2013-02-14 08:26:24 +0100
committerTim <vampik@gmail.com>2013-02-14 08:26:24 +0100
commit3224f077c37a054ea1995c07fe54bbe8b00e058a (patch)
tree37c9993f1b4208a509432e8ec87f88c10b74a770 /system/libraries
parent554d5dc6c1b9c6880a2fba150018c21ded8675c6 (diff)
changes according to narfbg's request
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Profiler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
index a3fa61c7c..ac8f6ba71 100644
--- a/system/libraries/Profiler.php
+++ b/system/libraries/Profiler.php
@@ -238,8 +238,8 @@ class CI_Profiler {
foreach ($dbs as $name => $db)
{
$hide_queries = (count($db->queries) > $this->_query_toggle_count) ? ' display:none' : '';
-
- $total_time = number_format(array_sum($db->query_times), 4).$this->CI->lang->line('profiler_seconds');
+
+ $total_time = number_format(array_sum($db->query_times), 4).' '.$this->CI->lang->line('profiler_seconds');
$show_hide_js = '(<span style="cursor: pointer;" onclick="var s=document.getElementById(\'ci_profiler_queries_db_'.$count.'\').style;s.display=s.display==\'none\'?\'\':\'none\';this.innerHTML=this.innerHTML==\''.$this->CI->lang->line('profiler_section_hide').'\'?\''.$this->CI->lang->line('profiler_section_show').'\':\''.$this->CI->lang->line('profiler_section_hide').'\';">'.$this->CI->lang->line('profiler_section_hide').'</span>)';