diff options
-rw-r--r-- | picture.php | 2 |
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.'&slideshow='.$_GET['slideshow']; $vtp->setVar( $handle, 'refresh.url', add_session_id( $url ) ); $vtp->closeSession( $handle, 'refresh' ); |