mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 15:42:29 +01:00
Fix phpcs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user