]> git.joonet.de Git - adminer.git/commitdiff
Save bytes
authorJakub Vrana <jakub@vrana.cz>
Wed, 3 Jul 2013 21:52:11 +0000 (14:52 -0700)
committerJakub Vrana <jakub@vrana.cz>
Wed, 3 Jul 2013 21:52:11 +0000 (14:52 -0700)
adminer/create.inc.php

index 1cba9db36e1d7456c037e798115d32ad30fd1bed..93c415ad9b708136d4e0b3fbae1e9c9ed74b4216 100644 (file)
@@ -184,7 +184,7 @@ edit_fields($row["fields"], $collations, "TABLE", $foreign_keys, $comments);
 ; ?>
 <p>
 <input type="submit" value="<?php echo lang('Save'); ?>">
-<?php if ($_GET["create"] != "") { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>"<?php echo confirm(); ?>><?php } ?>
+<?php if ($TABLE != "") { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>"<?php echo confirm(); ?>><?php } ?>
 <?php
 if (support("partitioning")) {
        $partition_table = ereg('RANGE|LIST', $row["partition_by"]);