diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 79fdeaed6..cdc23be0f 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1589,15 +1589,18 @@ function PMA_getTab($tab) E_USER_NOTICE); } + $out = ''; + if (!empty($tab['link'])) { - $out = '' . $tab['text'] . ''; } else { - $out = '' + $out .= '' . $tab['text'] . ''; } + $out .= ''; return $out; } // end of the 'PMA_getTab()' function @@ -1617,7 +1620,7 @@ function PMA_getTabs($tabs, $tag_id = 'topmenu') .'