From 4f11be1410a3289ac4cc37f688c491b077ddc83f Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 28 Dec 2004 16:31:58 +0000 Subject: - 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 --- include/page_tail.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') 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', -- cgit v1.2.3