From ff6fe2a89cd8cedfa20f7a27411041f676f24ceb Mon Sep 17 00:00:00 2001 From: Lionel Laffineur Date: Mon, 29 May 2023 14:59:12 +0200 Subject: [PATCH] Added one more copy to clipboard --- 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 5c263388..3685b320 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -97,7 +97,8 @@ if (!$error && $_POST) { $empty = false; $q = substr($query, 0, $pos); $commands++; - $print = "
" . $adminer->sqlCommandQuery($q) . "
\n"; + $print = "
" . $adminer->sqlCommandQuery($q) . "
\n"; + $print .= "" . lang('Copy to clipboard') . ""; if ($jush == "sqlite" && preg_match("~^$space*+ATTACH\\b~i", $q, $match)) { // PHP doesn't support setting SQLITE_LIMIT_ATTACHED echo $print;