diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index e1e647e3117..16aa9332232 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -34,11 +34,11 @@ */ class FormFile { - var $db; - var $error; - - var $numoffiles; - var $infofiles; // Used to return informations by function getDocumentsLink + private $db; + private $numoffiles; + + public $error; + public $infofiles; // Used to return informations by function getDocumentsLink /** @@ -548,7 +548,7 @@ class FormFile if (empty($buttonlabel)) $buttonlabel=$langs->trans('Generate'); if ($conf->browser->layout == 'phone') $urlsource.='#'.$forname.'_form'; // So we switch to form after a generation - if (empty($noform)) $out.= '