From f815d1bed3fffda1def1acd26201283e7d28ed34 Mon Sep 17 00:00:00 2001 From: Gustavo Novaro Date: Thu, 2 Feb 2017 17:30:06 -0300 Subject: [PATCH] Code style --- htdocs/core/class/html.formfile.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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.= '
'; + if (empty($noform)) $out.= ''; $out.= ''; $out.= '';