aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-15 19:24:18 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-15 19:24:18 +0000
commit5257091c37867829e2695f07a8837401061a2658 (patch)
treec2e227f359c7b7e4428f45e9fb5991e24e5875e6
parentd8218ec443547a5953a9aae7b706a2409c2177dd (diff)
Using the real asked slideshow refresh time instead of the hard coded "2"
value git-svn-id: http://piwigo.org/svn/trunk@118 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index 4af9ce5ed..7208063d0 100644
--- a/picture.php
+++ b/picture.php
@@ -530,7 +530,7 @@ if ( $page['num'] < $page['cat_nb_images']-1 )
if ( isset( $_GET['slideshow'] ) )
{
$vtp->addSession( $handle, 'refresh' );
- $vtp->setVar( $handle, 'refresh.time', 2 );
+ $vtp->setVar( $handle, 'refresh.time', $_GET['slideshow'] );
$url = $url_link.'&amp;slideshow='.$_GET['slideshow'];
$vtp->setVar( $handle, 'refresh.url', add_session_id( $url ) );
$vtp->closeSession( $handle, 'refresh' );