Commit 2e657f90 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction bug

parent 236645d1
Loading
Loading
Loading
Loading
+2 −2
Changes for module/Application/src/Application/Entity/Db/MacroContent/FichePosteMacroTrait.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -135,8 +135,8 @@ trait FichePosteMacroTrait {
        $result = [];
        foreach ($competences as $competence) {
            /** @var Competence $entite */
            $entite = $competence["object"];
            $result [$entite->getType()?$entite->getType()->getLibelle():"Sans type"][$entite->getId()] = $entite;
            $entite = $competence["entite"];
            if ($entite !==  null) $result [$entite->getType()?$entite->getType()->getLibelle():"Sans type"][$entite->getId()] = $entite;
        }
        ksort($result);
        $texte = "<h3> Compétences </h3>";