Merge branch '12.0' of https://github.com/dolibarr/dolibarr into 12.0
This commit is contained in:
commit
15cdb3ed79
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user