diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index e6ac2d294b9..5d928870560 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -22,7 +22,7 @@ * \file htdocs/core/class/html.formfile.class.php * \ingroup core * \brief File of class to offer components to list and upload files - * \version $Id: html.formfile.class.php,v 1.46 2011/07/06 21:12:34 eldy Exp $ + * \version $Id: html.formfile.class.php,v 1.47 2011/07/10 21:17:14 eldy Exp $ */ @@ -185,6 +185,7 @@ class FormFile global $langs,$bc,$conf; + $forname='builddoc'; $out=''; $var=true; @@ -386,7 +387,7 @@ class FormFile $buttonlabeltoshow=$buttonlabel; if (empty($buttonlabel)) $buttonlabel=$langs->trans('Generate'); - if (empty($noform)) $out.= '