From 3d5083e1c84d165fec6315eef7f64047256e16aa Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Mon, 26 Aug 2002 13:10:55 +0000 Subject: [PATCH] better fix --- libraries/common.lib.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index 6ebd76798..fd4a64298 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -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);