diff --git a/page/career.php b/page/career.php index 4814650..6a36f61 100755 --- a/page/career.php +++ b/page/career.php @@ -6,7 +6,6 @@ require_once __ROOT__.'/manager/security.php'; /*** GESTION DES PARAMETRES OPTIONNELS ***/ - // on initialise les paramètres optionnels $controleOpt = null; $groupeOpt = null; @@ -50,6 +49,9 @@ require_once __ROOT__.'/manager/security.php'; $formationOpt = ($formationOpt == null || $formationOpt == '*') ? null : $formationOpt; $anneeOpt = ($anneeOpt == null || $anneeOpt == '*') ? null : $anneeOpt; +// servira pour le dossier étudiant +$semestreOptBis = $semestreOpt; + /**************************************** * * * SECTION "PARCOURS" * @@ -1091,6 +1093,9 @@ if( (permission('master') || permission('admin')) && $etudiantOpt != null ){ //////////////////////////////////////////////////////////////////////////////// echo "
"; + // on récupère $semestreOpt original + $semestreOpt = $semestreOptBis; + // selection du semestre par défaut if( $semestreOpt == null ) $semestreOpt = $answer->parcours[0]['id'];