]> git.joonet.de Git - adminer.git/commitdiff
SimpleDB: Disable searching database
authorJakub Vrana <jakub@vrana.cz>
Fri, 12 Jul 2013 17:39:52 +0000 (10:39 -0700)
committerJakub Vrana <jakub@vrana.cz>
Fri, 12 Jul 2013 17:39:52 +0000 (10:39 -0700)
adminer/db.inc.php

index a1e0e8b7b44bed5b5a5e4797e321cd6bd0b42587..3b58596c01e0f614dab013ac51bb5047a4b883ee 100644 (file)
@@ -128,7 +128,7 @@ if ($adminer->homepage()) {
                                        echo (support("copy") ? " <input type='submit' name='copy' value='" . lang('Copy') . "'>" : "");
                                        echo "\n";
                                }
-                               echo "<input type='hidden' name='all' value='' onclick=\"selectCount('selected', formChecked(this, /^(tables|views)\[/)); selectCount('selected2', formChecked(this, /^tables\[/) || $tables);\">\n"; // used by trCheck()
+                               echo "<input type='hidden' name='all' value='' onclick=\"selectCount('selected', formChecked(this, /^(tables|views)\[/));" . (support("table") ? " selectCount('selected2', formChecked(this, /^tables\[/) || $tables);" : "") . "\">\n"; // used by trCheck()
                                echo "<input type='hidden' name='token' value='$token'>\n";
                                echo "</div></fieldset>\n";
                        }