Skip to content
Snippets Groups Projects
Commit e8351d1d authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Merge branch 'master' of https://git.unicaen.fr/open-source/OSE

parents e4fa6d4d 41deb7c8
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,6 @@ class IndexController extends AbstractController
}
public function changementAnneeAction()
{
/* Prise en compte du changement d'année!! */
......@@ -68,8 +67,8 @@ class IndexController extends AbstractController
$intervenant = $this->getServiceIntervenant()->getByCode($role->getIntervenant()->getCode());
if ($intervenant) {
//Correction mauvais refresh du role lors du changement d'année
// $this->serviceUserContext->setSelectedIdentityRole($intervenant->getStatut()->getRoleId());
$this->serviceUserContext->setNextSelectedIdentityRole($intervenant->getStatut()->getRoleId());
$this->serviceUserContext->setSelectedIdentityRole($intervenant->getStatut()->getRoleId());
//$this->serviceUserContext->setNextSelectedIdentityRole($intervenant->getStatut()->getRoleId());
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment