aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-12-28 16:31:58 +0000
committerplegall <plg@piwigo.org>2004-12-28 16:31:58 +0000
commit4f11be1410a3289ac4cc37f688c491b077ddc83f (patch)
treeeea20dada0159cad29360739a9e2f72aa5015f0f /include
parent7ba15740434b476e8aef0253919f19ba37e07dc7 (diff)
- bugs fixed in filesystem synchronization : if no existing category at
start, need to initialize $next_rank['NULL'], $next_id and $next_element_id - bug fixed : if no queries executed on the page, $count_queries and $queries_time are not initialized for page bottom display - no use of $conf['prefix_thumbnail'] in language information (admin.lang.php) git-svn-id: http://piwigo.org/svn/trunk@660 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/page_tail.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/page_tail.php b/include/page_tail.php
index 8ea329f4d..e8b4ae349 100644
--- a/include/page_tail.php
+++ b/include/page_tail.php
@@ -40,7 +40,13 @@ $template->assign_vars(
//------------------------------------------------------------- generation time
if ($conf['show_gt'])
{
- $time = get_elapsed_time( $t2, get_moment() );
+ $time = get_elapsed_time($t2, get_moment());
+
+ if (!isset($count_queries))
+ {
+ $count_queries = 0;
+ $queries_time = 0;
+ }
$template->assign_block_vars(
'debug',