]> git.joonet.de Git - adminer.git/commitdiff
MySQL: Fix links to information_schema help
authorJakub Vrana <jakub@vrana.cz>
Fri, 21 Feb 2025 16:26:55 +0000 (17:26 +0100)
committerJakub Vrana <jakub@vrana.cz>
Fri, 21 Feb 2025 16:31:56 +0000 (17:31 +0100)
adminer/drivers/mysql.inc.php

index 24c95eeaee03c5b87e2187d187886af7f6532379..c600c55a7733c2451712477101b4d6b12d265a6e 100644 (file)
@@ -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
                        }
                }