aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}