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

@@ -55,7 +55,7 @@ if (!$error && $_POST) {
$delimiter = ";";
$offset = 0;
$empty = true;
$connection2 = connect(adminer()->credentials()); // connection for exploring indexes and EXPLAIN (to not replace FOUND_ROWS()) //! PDO - silent error
$connection2 = connect(); // connection for exploring indexes and EXPLAIN (to not replace FOUND_ROWS()) //! PDO - silent error
if ($connection2 && DB != "") {
$connection2->select_db(DB);
if ($_GET["ns"] != "") {