Skip to content
Snippets Groups Projects
Commit fbcff24f authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Merge branch 'master' of https://git.unicaen.fr/lib/unicaen/privilege into HEAD

parents f25f4471 43abbd58
No related branches found
No related tags found
No related merge requests found
Pipeline #27513 passed
......@@ -11,7 +11,7 @@ $namespace = ($categorie->getNamespace() ? $categorie->getNamespace() : "<span c
$classname = ucfirst(strtolower($categorie->getCode())) . "Privileges";
$privileges = $categorie->getPrivileges()->toArray();
usort($privileges, function(PrivilegeInterface $a, PrivilegeInterface $b) { return $a->getOrdre() > $b->getOrdre(); });
usort($privileges, function(PrivilegeInterface $a, PrivilegeInterface $b) { return $a->getOrdre() <=> $b->getOrdre(); });
?>
<h2> Chemin du fichier </h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment