diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-02-15 00:10:41 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-02-15 00:10:41 +0000 |
commit | 11714951b33d340f13400aa8fc9a2b971f8d8e8b (patch) | |
tree | 4baaeddd0b5b697b99fea5b45c99ac098a69dee2 /picture.php | |
parent | b39e05fd5a1c9ea95aab7ee35902dfbc5c3d924a (diff) |
- feature 642: display both subcategory thumbnails and element thumbnails (if a
category has both) in the index page
- get rid of $page['cat_nb_images'] and $page['thumbnails_include'] (superfluous)
- changed sql queries in section_init.inc.php for better performance with
flat category view
- web service fixes for categories.getList
git-svn-id: http://piwigo.org/svn/trunk@1820 68402e56-0260-453c-a942-63ccdbb3a9ee
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(); |