Overwritten variable
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1113 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
81f91c0038
commit
d4e7cdad41
|
@ -249,10 +249,10 @@ if (!$columns) {
|
||||||
if ($table_names) {
|
if ($table_names) {
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
foreach ($table_names as $table => $name) {
|
foreach ($table_names as $table => $name) {
|
||||||
foreach ($backward_keys[$table] as $columns) {
|
foreach ($backward_keys[$table] as $cols) {
|
||||||
$link = ME . 'select=' . urlencode($table);
|
$link = ME . 'select=' . urlencode($table);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
foreach ($columns as $column => $val) {
|
foreach ($cols as $column => $val) {
|
||||||
$link .= where_link($i++, $column, $rows[$n][$val]);
|
$link .= where_link($i++, $column, $rows[$n][$val]);
|
||||||
}
|
}
|
||||||
echo " <a href='" . h($link) . "'>$name</a>";
|
echo " <a href='" . h($link) . "'>$name</a>";
|
||||||
|
|
Loading…
Reference in a new issue