aboutsummaryrefslogtreecommitdiffstats
path: root/include/menubar.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-02-25 21:19:13 +0000
committerrvelices <rv-github@modusoptimus.com>2013-02-25 21:19:13 +0000
commit062a75acf756852d7ef67ac731b3b6069ec47ebc (patch)
tree1eb947540f478a1dd88af72cb85977d4ae460574 /include/menubar.inc.php
parente9dab9db7441566a963827da30a56a957458e5a4 (diff)
bug 2851: hide related tags menu bar section on photo page
git-svn-id: http://piwigo.org/svn/trunk@21040 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 d60cd14dd..bd75a0b44 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -111,7 +111,7 @@ function initialize_menu()
//------------------------------------------------------------------------ tags
$block = $menu->get_block('mbTags');
- if ( $block!=null and !empty($page['items']) )
+ if ( $block!=null and !empty($page['items']) and 'picture' != script_basename() )
{
if ('tags'==@$page['section'])
{