Bug in "slideshow" feature.
Offline
Index: include/page_header.php
===================================================================
RCS file: /cvs/phpwebgallery/phpwebgallery/include/page_header.php,v
retrieving revision 1.12
diff -u -r1.12 page_header.php
--- include/page_header.php 13 Jan 2005 10:18:49 -0000 1.12
+++ include/page_header.php 30 Jan 2005 22:14:34 -0000
@@ -44,7 +44,7 @@
));
// 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(Offline