diff --git a/adminer/foreign.inc.php b/adminer/foreign.inc.php index bad28c2b..ef0dd6bc 100644 --- a/adminer/foreign.inc.php +++ b/adminer/foreign.inc.php @@ -60,13 +60,13 @@ $referencable = array_keys(array_filter(table_status('', true), 'fk_support'));
" . html_select("source[" . (+$key) . "]", array(-1 => "") + $source, $val, ($j == count($row["source"]) - 1 ? "foreignAddRow(this);" : 1)); - echo " | " . html_select("target[" . (+$key) . "]", $target, $row["target"][$key]); + echo " | " . html_select("source[" . (+$key) . "]", array(-1 => "") + $source, $val, ($j == count($row["source"]) - 1 ? "foreignAddRow(this);" : 1), "label-source"); + echo " | " . html_select("target[" . (+$key) . "]", $target, $row["target"][$key], 1, "label-target"); $j++; } ?> |