better fix

This commit is contained in:
Alexander M. Turek
2002-08-26 13:10:55 +00:00
parent 85c05eeb2f
commit 3d5083e1c8

View File

@@ -1058,7 +1058,7 @@ if (typeof(window.parent) != 'undefined'
}
// Corrects the tooltip text via JS if required
else if (isset($GLOBALS['table']) && !empty($GLOBALS['table']) && $cfg['ShowTooltip'] && PMA_MYSQL_INT_VERSION >= 32303) {
else if (!empty($GLOBALS['table']) && $cfg['ShowTooltip'] && PMA_MYSQL_INT_VERSION >= 32303) {
$result = @PMA_mysql_query('SHOW TABLE STATUS FROM ' . PMA_backquote($GLOBALS['db']) . ' LIKE \'' . PMA_sqlAddslashes($GLOBALS['table'], TRUE) . '\'');
if ($result) {
$tbl_status = PMA_mysql_fetch_array($result, MYSQL_ASSOC);