diff --git a/main/exercice/exercice.php b/main/exercice/exercice.php index dbab3a367d..9d08f747d3 100644 --- a/main/exercice/exercice.php +++ b/main/exercice/exercice.php @@ -70,7 +70,7 @@ $exfile = explode('/', $exercicePath); $exfile = strtolower($exfile[sizeof($exfile) - 1]); $exercicePath = substr($exercicePath, 0, strpos($exercicePath, $exfile)); $exercicePath = $exercicePath . "exercice.php"; - + // Clear the exercise session if (isset ($_SESSION['objExercise'])) { Session::erase('objExercise'); @@ -132,11 +132,11 @@ if ($show != 'result') { $nameTools = get_lang('Exercices'); } else { if ($is_allowedToEdit || $is_tutor) { - $nameTools = get_lang('StudentScore'); + $nameTools = get_lang('StudentScore'); $interbreadcrumb[] = array("url" => "exercice.php?gradebook=$gradebook","name" => get_lang('Exercices')); - $objExerciseTmp = new Exercise(); + $objExerciseTmp = new Exercise(); if ($objExerciseTmp->read($exerciseId)) { - $interbreadcrumb[] = array("url" => "admin.php?exerciseId=".$exerciseId, "name" => $objExerciseTmp->name); + $interbreadcrumb[] = array("url" => "admin.php?exerciseId=".$exerciseId, "name" => $objExerciseTmp->name); } } else { $nameTools = get_lang('YourScore'); @@ -173,15 +173,15 @@ $htmlHeadXtra[] = '