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

Call credentials() from connect()

This commit is contained in:
Jakub Vrana
2025-04-03 10:23:31 +02:00
parent 3693992650
commit 49eefa2585
3 changed files with 6 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ if (!$error && $_POST) {
if (!$result) {
echo "<p class='error'>" . error() . "\n";
} else {
$connection2 = connect(adminer()->credentials());
$connection2 = connect();
if ($connection2) {
$connection2->select_db(DB);
}