diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index a49349392c7..1899c8299cd 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -1199,9 +1199,7 @@ class FormFile print ''; print ''; $editline = 1; - } - else - { + } else { $filenametoshow = preg_replace('/\.noexe$/', '', $file['name']); print dol_trunc($filenametoshow, 200); print ''; diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 722be0b60e8..de1feec96e2 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -396,7 +396,7 @@ if ($massaction == 'setcategory' && GETPOST('confirmmassaction', 'alpha') && $us $category = new Categorie($db); $category->fetch($categoryid); - foreach($toselect as $tmpid) { + foreach ($toselect as $tmpid) { $tmpwebsitepage->id = $tmpid; $result = $category->add_type($tmpwebsitepage, 'website_page'); if ($result < 0 && $result != -3) {