Fixed Warning: Trying to access array offset on null in adminer/foreign.inc.php on line 87
This commit is contained in:
parent
b3ebf738aa
commit
f9c33e6e19
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ $j = 0;
|
|||
foreach ($row["source"] as $key => $val) {
|
||||
echo "<tr>";
|
||||
echo "<td>" . html_select("source[" . (+$key) . "]", array(-1 => "") + $source, $val, ($j == count($row["source"]) - 1 ? "foreignAddRow.call(this);" : 1), "label-source");
|
||||
echo "<td>" . html_select("target[" . (+$key) . "]", $target, $row["target"][$key], 1, "label-target");
|
||||
echo "<td>" . html_select("target[" . (+$key) . "]", $target, isset($row["target"][$key]) ? $row["target"][$key] : null, 1, "label-target");
|
||||
$j++;
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue