aboutsummaryrefslogtreecommitdiffstats
path: root/include/menubar.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-07-27 12:50:37 +0000
committerplegall <plg@piwigo.org>2010-07-27 12:50:37 +0000
commitb0e523b218dbd272cf65fe6e8c69d929b9f8e2b4 (patch)
tree64bc3b0db21b76b0558f166d6324e03930d2c69b /include/menubar.inc.php
parenta61e471e02b901727842745304b52f5c357734e8 (diff)
merge r6715 from branch 2.1 to trunk
bug 1785 fixed: the number of related tags is no longer hard coded git-svn-id: http://piwigo.org/svn/trunk@6716 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/menubar.inc.php')
-rw-r--r--include/menubar.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index a5cc2ffed..133aab6ec 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -143,7 +143,7 @@ function initialize_menu()
else
{
$selection = array_slice( $page['items'], $page['start'], $page['nb_image_page'] );
- $tags = add_level_to_tags( get_common_tags($selection, 12) );
+ $tags = add_level_to_tags( get_common_tags($selection, $conf['content_tag_cloud_items_number']) );
foreach ($tags as $tag)
{
$block->data[] =