aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-01-30 22:16:31 +0000
committerplegall <plg@piwigo.org>2005-01-30 22:16:31 +0000
commita500671dc24ace6dbb9fc9c1387af2d77877851a (patch)
tree120f5e8d14bc0aacf0c9a858f12340d4b2f1e34d /include
parentcf48bf46e3390c3132001dc0f9ef355c0142497b (diff)
- 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
Diffstat (limited to 'include')
-rw-r--r--include/page_header.php2
1 files changed, 1 insertions, 1 deletions
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(