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

Fix type of select_db()

This commit is contained in:
Jakub Vrana
2025-03-31 11:08:37 +02:00
parent 366342985d
commit e6c0c8ab6b
11 changed files with 18 additions and 16 deletions

View File

@@ -30,7 +30,7 @@ if (isset($_GET["imap"])) {
return ($this->imap ? '' : imap_last_error());
}
function select_db(string $database): bool {
function select_db(string $database) {
return ($database == "mail");
}