diff --git a/adminer/select.inc.php b/adminer/select.inc.php
index 36793fa7..b7e08ac9 100644
--- a/adminer/select.inc.php
+++ b/adminer/select.inc.php
@@ -249,10 +249,10 @@ if (!$columns) {
if ($table_names) {
echo "
";
foreach ($table_names as $table => $name) {
- foreach ($backward_keys[$table] as $columns) {
+ foreach ($backward_keys[$table] as $cols) {
$link = ME . 'select=' . urlencode($table);
$i = 0;
- foreach ($columns as $column => $val) {
+ foreach ($cols as $column => $val) {
$link .= where_link($i++, $column, $rows[$n][$val]);
}
echo " $name";
|