aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-05-13 17:28:11 +0000
committerflop25 <flop25@piwigo.org>2013-05-13 17:28:11 +0000
commit509117aeb98927fafeba1632bfa1e0d6249bdad2 (patch)
tree2788c765b0f330fdcac3eb2e05c1deec80746865 /include/functions.inc.php
parent4c95c8e6b5b9514e53b095cfe27cd6cad539c7d2 (diff)
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
Diffstat (limited to '')
-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 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;
}