Loading view/unicaen-privilege/privilege-categorie/provider.phtml +1 −1 Original line number Diff line number Diff line Loading @@ -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> Loading Loading
view/unicaen-privilege/privilege-categorie/provider.phtml +1 −1 Original line number Diff line number Diff line Loading @@ -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> Loading