1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

Use helper function

This commit is contained in:
Jakub Vrana
2025-03-08 19:57:36 +01:00
parent afe7dd9ad9
commit ad2cbbf26e
4 changed files with 7 additions and 8 deletions

View File

@@ -35,7 +35,7 @@ class AdminerLoginServers {
if ($name == 'driver') {
return '';
} elseif ($name == 'server') {
return $heading . "<select name='auth[server]'>" . Adminer\optionlist(array_keys($this->servers), Adminer\SERVER) . "</select>\n";
return $heading . Adminer\html_select("auth[server]", array_keys($this->servers), Adminer\SERVER) . "\n";
}
}
}