diff options
Diffstat (limited to 'picture.php')
-rw-r--r-- | picture.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php index e033fca7c..2abb4bc5d 100644 --- a/picture.php +++ b/picture.php @@ -453,7 +453,7 @@ if ( isset( $_GET['slideshow'] ) ) } $title = $picture['current']['name']; -$title_nb = ($page['current_rank'] + 1).'/'.$page['cat_nb_images']; +$title_nb = ($page['current_rank'] + 1).'/'.count($page['items']); // metadata $url_metadata = duplicate_picture_url(); |