diff --git a/htdocs/ftp/index.php b/htdocs/ftp/index.php
index d38c7ee0c69..6666ec6a03b 100644
--- a/htdocs/ftp/index.php
+++ b/htdocs/ftp/index.php
@@ -338,9 +338,6 @@ else
if ($ret == 'html') print '
';
}
- if ($mesg) { print $mesg."
"; }
-
-
// Confirmation de la suppression d'une ligne categorie
if ($_GET['action'] == 'delete_section')
{
@@ -355,6 +352,8 @@ else
print $langs->trans("Directory").': '.$section.'
';
print "
\n";
+ if ($mesg) { print $mesg."
"; }
+
// Construit liste des repertoires
print '