SQL command: Unlink NULL primary keys

This commit is contained in:
Jakub Vrana
2025-09-10 00:23:26 +02:00
parent d15d0b2ef3
commit 26c4057946
2 changed files with 5 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
## Adminer dev
- SQL command: Unlink NULL primary keys
## Adminer 5.4.0 (released 2025-09-08)
- Allow specifying operator in search anywhere

View File

@@ -72,6 +72,10 @@ function print_select_result($result, ?Db $connection2 = null, array $orgtables
} else {
$link = ME . "edit=" . urlencode($links[$key]);
foreach ($indexes[$links[$key]] as $col => $j) {
if ($row[$j] === null) {
$link = "";
break;
}
$link .= "&where" . urlencode("[" . bracket_escape($col) . "]") . "=" . urlencode($row[$j]);
}
}