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

Fix bug

parent a24bdcdb
Loading
Loading
Loading
Loading
+1 −1
Changes for module/EntretienProfessionnel/src/EntretienProfessionnel/Entity/Db/EntretienProfessionnel.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -525,7 +525,7 @@ class EntretienProfessionnel implements HistoriqueAwareInterface, ResourceInterf
    {
        /** @var Agent $responsble */
        $responsble = $this->getResponsable();
        $fiche = $responsble->getFichePosteActive();
        $fiche = $responsble->getFichePosteBest();

        if ($fiche === null) return "Aucune fiche de poste EMC2";
        $metier  = $fiche->getLibelleMetierPrincipal();