2
0
forked from Wavyzz/dolibarr

Fix with php-cs-fixer

This commit is contained in:
Laurent Destailleur
2023-12-04 12:01:45 +01:00
parent 987d6c41b9
commit ba10d60a0b
189 changed files with 1385 additions and 1028 deletions

View File

@@ -114,7 +114,7 @@ if ($id > 0 || !empty($ref)) {
print dol_get_fiche_head($head, 'documents', $langs->trans('CustomerOrder'), -1, 'order');
// Build file list
$filearray = dol_dir_list($upload_dir, "files", 0, '', '(\.meta|_preview.*\.png)$', $sortfield, (strtolower($sortorder) == 'desc' ?SORT_DESC:SORT_ASC), 1);
$filearray = dol_dir_list($upload_dir, "files", 0, '', '(\.meta|_preview.*\.png)$', $sortfield, (strtolower($sortorder) == 'desc' ? SORT_DESC : SORT_ASC), 1);
$totalsize = 0;
foreach ($filearray as $key => $file) {
$totalsize += $file['size'];