uninitialized variable

This commit is contained in:
Sebastian Mendel
2005-11-23 17:34:44 +00:00
parent 8f1bb56896
commit b755b20bde
2 changed files with 13 additions and 10 deletions

View File

@@ -19,6 +19,7 @@ $Source$
* themes.php, css/phpmyadmin.css.php:
- moved styles into css
- no need for javascript
* relation.lib.php: uninitialized variable
2005-11-23 Michal Čihař <michal@cihar.com>
* config.default.php, libraries/import/csv.php, libraries/import/ldi.php:

View File

@@ -797,6 +797,8 @@ function PMA_foreignDropdownBuild($foreign, $data, $mode) {
function PMA_foreignDropdown($disp, $foreign_field, $foreign_display, $data, $max) {
global $cfg;
$foreign = array();
// collect the data
foreach ($disp as $relrow) {
$key = $relrow[$foreign_field];