From a500671dc24ace6dbb9fc9c1387af2d77877851a Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 30 Jan 2005 22:16:31 +0000 Subject: - bug fixed : slideshow was not working since modification of test on $refresh var. git-svn-id: http://piwigo.org/svn/trunk@722 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/page_header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/page_header.php') diff --git a/include/page_header.php b/include/page_header.php index eab8d39ab..7b00e7055 100644 --- a/include/page_header.php +++ b/include/page_header.php @@ -44,7 +44,7 @@ $template->assign_vars( )); // refresh -if ( isset( $refresh ) and is_int($refresh) and isset( $url_link ) ) +if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) ) { $template->assign_vars( array( -- cgit v1.2.3