bug #1437754, search combos default to key zero

This commit is contained in:
Marc Delisle
2006-02-24 20:31:45 +00:00
parent 492807a8e3
commit d5d8aef10f
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-02-24 Marc Delisle <lem9@users.sourceforge.net>
* libraries/relation.lib.php: bug #1437754, search combos default to
key zero
2006-02-23 Michal Čihař <michal@cihar.com>
* libraries/config.default.php, libraries/header.inc.php,
Documentation.html: More replacements for page title (RFE #1408241).

View File

@@ -806,7 +806,7 @@ function PMA_foreignDropdownBuild($foreign, $data, $mode) {
$reloption .= ' title="' . $vtitle . '"';
}
if ($key == $data) {
if ((string) $key == (string) $data) {
$reloption .= ' selected="selected"';
}