1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +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

@@ -29,7 +29,7 @@ if (isset($_GET["firebird"])) {
return "'" . str_replace("'", "''", $string) . "'";
}
function select_db(string $database): bool {
function select_db(string $database) {
return ($database == "domain");
}