patch #1605032, undefined index

This commit is contained in:
Marc Delisle
2006-11-29 11:04:16 +00:00
parent 883eea7a79
commit 5dd2f3696d
3 changed files with 5 additions and 3 deletions

View File

@@ -1106,7 +1106,7 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
}
} // end if (1.2.1)
if ($table == $GLOBALS['cfg']['Bookmark']['table'] && $db == $GLOBALS['cfg']['Bookmark']['db'] && isset($row[1]) && isset($row[0])) {
if (isset($GLOBALS['cfg']['Bookmark']['table']) && isset($GLOBALS['cfg']['Bookmark']['db']) && $table == $GLOBALS['cfg']['Bookmark']['table'] && $db == $GLOBALS['cfg']['Bookmark']['db'] && isset($row[1]) && isset($row[0])) {
$bookmark_go = '<a href="import.php?'
. PMA_generate_common_url($row[1], '')
. '&amp;id_bookmark=' . $row[0]