aboutsummaryrefslogtreecommitdiffstats
path: root/include/menubar.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-07-27 12:49:29 +0000
committerplegall <plg@piwigo.org>2010-07-27 12:49:29 +0000
commita17353b7bb0db0305923d4b45443aa01e825c378 (patch)
tree9eb15f889365c8dbd5b6cae5cad10384c16be9fa /include/menubar.inc.php
parent41757b9e1aab9ff4b3a75ac37ac01dde604d57d1 (diff)
buf 1785 fixed: the number of related tags is no longer hard coded
git-svn-id: http://piwigo.org/svn/branches/2.1@6715 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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[] =