]> git.joonet.de Git - adminer.git/commitdiff
Respect namespace
authorJakub Vrana <jakub@vrana.cz>
Thu, 6 May 2010 09:24:47 +0000 (11:24 +0200)
committerJakub Vrana <jakub@vrana.cz>
Thu, 6 May 2010 09:24:47 +0000 (11:24 +0200)
adminer/select.inc.php

index 519c38b13ec9c7c4e0b2fe7cdfbc8d91514c3fc2..eb3ce95b43ff6677a70a6bdb1c8bf28146936972 100644 (file)
@@ -181,7 +181,7 @@ if (!$columns) {
        echo "<form action='' id='form'>\n";
        echo "<div style='display: none;'>";
        hidden_fields_get();
-       echo (DB != "" ? '<input type="hidden" name="db" value="' . h(DB) . '">' : ""); // not used in Editor
+       echo (DB != "" ? '<input type="hidden" name="db" value="' . h(DB) . '">' . (isset($_GET["ns"]) ? '<input type="hidden" name="ns" value="' . h($_GET["ns"]) . '">' : "") : ""); // not used in Editor
        echo '<input type="hidden" name="select" value="' . h($TABLE) . '">';
        echo "</div>\n";
        $adminer->selectColumnsPrint($select, $columns);