aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-05-13 17:26:43 +0000
committerflop25 <flop25@piwigo.org>2013-05-13 17:26:43 +0000
commit6ed179a9c64c2f820a1950a136f45bd705495d9b (patch)
tree5551f6ea188f00652387e48d88a2fd0d796cdb90 /include
parentb13b7b857d1dee0be2964b93978aa142d512ed2f (diff)
correction of rev:21515
git-svn-id: http://piwigo.org/svn/trunk@22653 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 8d43049b0..1bc4db298 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;
}