bug 956137

This commit is contained in:
Marc Delisle
2004-05-19 13:36:13 +00:00
parent 7ddc4f69bb
commit 4aaaca64bb
2 changed files with 10 additions and 1 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-05-19 Marc Delisle <lem9@users.sourceforge.net>
* tbl_select.php: bug 956137, undefined $data: on the search page,
PMA_foreignDropdown() must be called with no current value for
the data
2004-05-14 Michal Čihař <michal@cihar.com>
* libraries/auth/cookie.auth.lib.php: Show login form in top frame.

View File

@@ -207,7 +207,11 @@ function PMA_tbl_select_operator(f, index, multiple) {
// f o r e i g n k e y s
echo ' <select name="fields[' . $i . ']">' . "\n";
// go back to first row
echo PMA_foreignDropdown($disp_row, $foreign_field, $foreign_display, $data, 100);
// here, the 4th parameter is empty because there is no current
// value of data for the dropdown (the search page initial values
// are displayed empty)
echo PMA_foreignDropdown($disp_row, $foreign_field, $foreign_display, '', 100);
echo ' </select>' . "\n";
} else if (isset($foreign_link) && $foreign_link == true) {
?>