aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_tail.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/page_tail.php')
-rw-r--r--include/page_tail.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/page_tail.php b/include/page_tail.php
index e8b4ae349..f5c5eaf3f 100644
--- a/include/page_tail.php
+++ b/include/page_tail.php
@@ -42,17 +42,17 @@ if ($conf['show_gt'])
{
$time = get_elapsed_time($t2, get_moment());
- if (!isset($count_queries))
+ if (!isset($page['count_queries']))
{
- $count_queries = 0;
- $queries_time = 0;
+ $page['count_queries'] = 0;
+ $page['queries_time'] = 0;
}
$template->assign_block_vars(
'debug',
array('TIME' => $time,
- 'NB_QUERIES' => $count_queries,
- 'SQL_TIME' => number_format($queries_time, 3, '.', ' ').' s'));
+ 'NB_QUERIES' => $page['count_queries'],
+ 'SQL_TIME' => number_format($page['queries_time'],3,'.',' ').' s'));
}
//