diff --git a/libraries/structure.lib.php b/libraries/structure.lib.php index bf9d34996e..1fd098b7c3 100644 --- a/libraries/structure.lib.php +++ b/libraries/structure.lib.php @@ -805,9 +805,12 @@ function PMA_tableHeader($db_is_system_schema = false, $replication = false) $cnt = 0; // Let's count the columns... if ($db_is_system_schema) { - $action_colspan = 4; + $action_colspan = 3; } else { - $action_colspan = 7; + $action_colspan = 6; + } + if ($GLOBALS['cfg']['NumFavoriteTables'] > 0) { + $action_colspan++; } $html_output = '' . "\n"