diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 2f77de6a8..cbce236c5 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1477,6 +1477,7 @@ function PMA_getTab($tab) 'attr' => '', 'args' => '', 'warning' => '', + 'fragment' => '', ); $tab = array_merge($defaults, $tab); @@ -1514,6 +1515,10 @@ function PMA_getTab($tab) } } + if (! empty($tab['fragment'])) { + $tab['link'] .= $tab['fragment']; + } + // display icon, even if iconic is disabled but the link-text is missing if (($GLOBALS['cfg']['MainPageIconic'] || empty($tab['text'])) && isset($tab['icon'])) {