From 2fa42d50ebe13af2476edcc10fe22e302aabb509 Mon Sep 17 00:00:00 2001 From: Peter Knut Date: Tue, 1 Oct 2024 23:33:48 +0200 Subject: [PATCH] Fix using undefined Min_DB::info property --- adminer/sql.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 00c943dd..6828ce28 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -183,7 +183,8 @@ if (!$error && $_POST) { stop_session(); } if (!$_POST["only_errors"]) { - echo "

" . lang('Query executed OK, %d row(s) affected.', $affected) . "$time\n"; + $title = isset($connection->info) ? "title='" . h($connection->info) . "'" : ""; + echo "

" . lang('Query executed OK, %d row(s) affected.', $affected) . "$time\n"; } } echo ($warnings ? "

\n" : "");