Merge branch '12.0' of https://github.com/dolibarr/dolibarr into 12.0

This commit is contained in:
Laurent Destailleur 2020-07-18 23:00:09 +02:00
commit 15cdb3ed79

View File

@ -1296,7 +1296,7 @@ abstract class CommonDocGenerator
{
// Sort extrafields by rank
uasort($fields, function ($a, $b) {
return ($a->rank > $b->rank) ? -1 : 1;
return ($a->rank > $b->rank) ? 1 : -1;
});
// define some HTML content with style