Loading module/Application/src/Application/Controller/IndexController.php +2 −2 Changes for module/Application/src/Application/Controller/IndexController.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -117,7 +117,7 @@ class IndexController extends AbstractActionController /** Campagne d'entretien professionnel ************************************************************************/ $last = $this->getCampagneService()->getLastCampagne(); $campagnes = $this->getCampagneService()->getCampagnesActives(); $campagnes[] = $last; if ($last !== null) $campagnes[] = $last; usort($campagnes, function (Campagne $a, Campagne $b) { return $a->getDateDebut() > $b->getDateDebut();}); /** Récuperation des eps **************************************************************************************/ Loading Loading @@ -157,7 +157,7 @@ class IndexController extends AbstractActionController /** Campagne d'entretien professionnel ************************************************************************/ $last = $this->getCampagneService()->getLastCampagne(); $campagnes = $this->getCampagneService()->getCampagnesActives(); $campagnes[] = $last; if ($last !== null) $campagnes[] = $last; usort($campagnes, function (Campagne $a, Campagne $b) { return $a->getDateDebut() > $b->getDateDebut();}); /** Récuperation des eps **************************************************************************************/ Loading Loading
module/Application/src/Application/Controller/IndexController.php +2 −2 Changes for module/Application/src/Application/Controller/IndexController.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -117,7 +117,7 @@ class IndexController extends AbstractActionController /** Campagne d'entretien professionnel ************************************************************************/ $last = $this->getCampagneService()->getLastCampagne(); $campagnes = $this->getCampagneService()->getCampagnesActives(); $campagnes[] = $last; if ($last !== null) $campagnes[] = $last; usort($campagnes, function (Campagne $a, Campagne $b) { return $a->getDateDebut() > $b->getDateDebut();}); /** Récuperation des eps **************************************************************************************/ Loading Loading @@ -157,7 +157,7 @@ class IndexController extends AbstractActionController /** Campagne d'entretien professionnel ************************************************************************/ $last = $this->getCampagneService()->getLastCampagne(); $campagnes = $this->getCampagneService()->getCampagnesActives(); $campagnes[] = $last; if ($last !== null) $campagnes[] = $last; usort($campagnes, function (Campagne $a, Campagne $b) { return $a->getDateDebut() > $b->getDateDebut();}); /** Récuperation des eps **************************************************************************************/ Loading