diff --git a/ChangeLog b/ChangeLog index 619dff787..774a34a32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ $HeadURL$ 2006-11-29 Marc Delisle * lang/spanish update, thanks to Daniel Hinostroza + * sql.php, libraries/display_tbl.lib.php: patch #1605032, checks for + undefined index, thanks to Arpad Borsos 2006-11-26 Marc Delisle * tbl_structure.php: bug #1602335, browse distinct values diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index c93972fef..9bbad7520 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -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 = '