Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-05-28 20:02:07 +02:00
parent 11aedcd71a
commit 1992b633ba
2 changed files with 2 additions and 4 deletions

View File

@ -1199,9 +1199,7 @@ class FormFile
print '<input type="hidden" name="renamefilefrom" value="'.dol_escape_htmltag($file['name']).'">';
print '<input type="text" name="renamefileto" class="quatrevingtpercent" value="'.dol_escape_htmltag($file['name']).'">';
$editline = 1;
}
else
{
} else {
$filenametoshow = preg_replace('/\.noexe$/', '', $file['name']);
print dol_trunc($filenametoshow, 200);
print '</a>';

View File

@ -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) {