Fix phpcs
This commit is contained in:
parent
11aedcd71a
commit
1992b633ba
@ -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>';
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user