Fix phpcs

This commit is contained in:
Laurent Destailleur
2023-06-10 14:25:07 +02:00
parent 1738b6ccf4
commit 00da14e095
4 changed files with 17 additions and 13 deletions

View File

@@ -409,8 +409,7 @@ function completeFileArrayWithDatabaseInfo(&$filearray, $relativedir)
*/
function dol_compare_file($a, $b)
{
global $sortorder;
global $sortfield;
global $sortorder, $sortfield;
$sortorder = strtoupper($sortorder);
@@ -440,6 +439,8 @@ function dol_compare_file($a, $b)
}
return ($a->size < $b->size) ? $retup : $retdown;
}
return 0;
}