From 509117aeb98927fafeba1632bfa1e0d6249bdad2 Mon Sep 17 00:00:00 2001 From: flop25 Date: Mon, 13 May 2013 17:28:11 +0000 Subject: merge rev:22653 from trunk to 2.5 correction of rev:21515 git-svn-id: http://piwigo.org/svn/branches/2.5@22654 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.inc.php b/include/functions.inc.php index 5b676f87c..edc56979b 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -1460,7 +1460,7 @@ function create_navigation_bar($url, $nb_element, $start, $nb_element_page, $cle $navbar['pages'][$i] = $url.$start_str.(($i - 1) * $nb_element_page); } $navbar['pages'][$maximum] = $url_start.$last; - $navbar['NB_PAGE']=$nb_element; + $navbar['NB_PAGE']=$maximum; } return $navbar; } -- cgit v1.2.3