From 7d3266b369c8d9106f5d3ded1c9b5bc4a961bfc1 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 21 Feb 2025 17:26:55 +0100 Subject: [PATCH] MySQL: Fix links to information_schema help --- adminer/drivers/mysql.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 24c95eea..c600c55a 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -338,10 +338,10 @@ if (!defined("DRIVER")) { function tableHelp($name) { $maria = preg_match('~MariaDB~', $this->_conn->server_info); if (information_schema(DB)) { - return strtolower(($maria ? "information-schema-$name-table/" : str_replace("_", "-", $name) . "-table.html")); + return strtolower("information-schema-" . ($maria ? "$name-table/" : str_replace("_", "-", $name) . "-table.html")); } if (DB == "mysql") { - return ($maria ? "mysql$name-table/" : "system-database.html"); //! more precise link + return ($maria ? "mysql$name-table/" : "system-schema.html"); //! more precise link } } -- 2.39.5