]> git.joonet.de Git - adminer.git/commitdiff
Print email only with rows or page
authorJakub Vrana <jakub@vrana.cz>
Wed, 14 Feb 2018 05:41:44 +0000 (06:41 +0100)
committerJakub Vrana <jakub@vrana.cz>
Wed, 14 Feb 2018 05:41:44 +0000 (06:41 +0100)
adminer/select.inc.php

index 30a4dc98498e91ce0e65f339cc622377434e4249..acce4ad6f9aecbe98c6b2e46b8e29f12abe628ff 100644 (file)
@@ -556,10 +556,9 @@ if (!$columns && support("table")) {
                                        echo "</div></fieldset>\n";
                                }
 
+                               $adminer->selectEmailPrint(array_filter($email_fields, 'strlen'), $columns);
                        }
 
-                       $adminer->selectEmailPrint(array_filter($email_fields, 'strlen'), $columns);
-                       echo "<input type='hidden' name='token' value='$token'>\n";
                        echo "</div></div>\n";
 
                        if ($adminer->selectImportPrint()) {
@@ -574,6 +573,7 @@ if (!$columns && support("table")) {
                                echo "</div>";
                        }
 
+                       echo "<input type='hidden' name='token' value='$token'>\n";
                        echo "</form>\n";
                        echo (!$group && $select ? "" : script("tableCheck();"));
                }