mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Select original if nothing else is selected
This commit is contained in:
@@ -14,6 +14,9 @@ class AdminerEnumOption {
|
|||||||
$selected = $value;
|
$selected = $value;
|
||||||
if (isset($_GET["select"])) {
|
if (isset($_GET["select"])) {
|
||||||
$options[-1] = lang('original');
|
$options[-1] = lang('original');
|
||||||
|
if ($selected === null) {
|
||||||
|
$selected = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($field["null"]) {
|
if ($field["null"]) {
|
||||||
$options[""] = "NULL";
|
$options[""] = "NULL";
|
||||||
|
Reference in New Issue
Block a user