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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user