diff --git a/htdocs/accountancy/admin/export.php b/htdocs/accountancy/admin/export.php
index a5f54d5c431f161ab45837044074f5a73c75ca21..d35e6e8ddf6ace70947c4bfd565f8165e0dfc0f9 100644
--- a/htdocs/accountancy/admin/export.php
+++ b/htdocs/accountancy/admin/export.php
@@ -156,9 +156,9 @@ foreach ( $list as $key ) {
 }
 
 print "</table>\n";
-print '</form>';
 
 print '<br /><div style="text-align:center"><input type="submit" class="button" value="' . $langs->trans('Modify') . '" name="button"></div>';
+print '</form>';
 
 llxFooter();
 $db->close();
\ No newline at end of file