]> git.joonet.de Git - adminer.git/commitdiff
Fix error found by PHPStan
authorJakub Vrana <jakub@vrana.cz>
Thu, 16 Feb 2017 18:05:45 +0000 (19:05 +0100)
committerJakub Vrana <jakub@vrana.cz>
Thu, 16 Feb 2017 18:05:45 +0000 (19:05 +0100)
adminer/include/adminer.inc.php

index 4b861248e8d0917256984ee2a34087adf7045f27..eee9f7b2f0db45998a9e601c93e8d00025f8400d 100644 (file)
@@ -892,7 +892,7 @@ bodyLoad('<?php echo (is_object($connection) ? substr($connection->server_info,
                        $name = $this->tableName($status);
                        echo (support("table") || support("indexes")
                                ? '<a href="' . h(ME) . 'table=' . urlencode($table) . '"'
-                                       . bold(in_array($table, array($_GET["table"], $_GET["create"], $_GET["indexes"], $_GET["foreign"], $_GET["trigger"])), (is_view($status) ? "view" : ""), "structure")
+                                       . bold(in_array($table, array($_GET["table"], $_GET["create"], $_GET["indexes"], $_GET["foreign"], $_GET["trigger"])), (is_view($status) ? "view" : "structure"))
                                        . " title='" . lang('Show structure') . "'>$name</a>"
                                : "<span>$name</span>"
                        ) . "<br>\n";