diff --git a/main/exercice/answer_admin.inc.php b/main/exercice/answer_admin.inc.php
index 76c7003696..2bd2b4ca2d 100644
--- a/main/exercice/answer_admin.inc.php
+++ b/main/exercice/answer_admin.inc.php
@@ -1135,7 +1135,7 @@ if($modifyAnswers)
|
-
+
|
diff --git a/main/exercice/exercice.php b/main/exercice/exercice.php
index 94a2a60895..94156646b2 100644
--- a/main/exercice/exercice.php
+++ b/main/exercice/exercice.php
@@ -132,7 +132,7 @@ if ($show == 'result' && $_REQUEST['comments'] == 'update' && ($is_allowedToEdit
$emailid = $_GET['emailid'];
$test = $_GET['test'];
$from = $_SESSION['_user']['mail'];
- $from_name = $_SESSION['_user']['firstName'] . " " . $_SESSION['_user']['lastName'];
+ $from_name = api_get_person_name($_SESSION['_user']['firstName'], $_SESSION['_user']['lastName'], null, PERSON_NAME_EMAIL_ADDRESS);
$url = api_get_path(WEB_CODE_PATH) . 'exercice/exercice.php?' . api_get_cidreq() . '&show=result';
$TBL_RECORDING = Database :: get_statistic_table('track_e_attempt_recording');
$total_weighting = $_REQUEST['totalWeighting'];
@@ -781,9 +781,9 @@ if (($is_allowedToEdit) and ($origin != 'learnpath')) {
$alt = get_lang('ExportWithoutUserFields');
$extra_user_fields = '';
}
- //echo ''.Display::return_icon('excel.gif',get_lang('ExportAsCSV')).get_lang('ExportAsCSV').'';
- echo '' . Display :: return_icon('excel.gif', get_lang('ExportAsXLS')) . get_lang('ExportAsXLS') . '';
- //echo ''.Display::return_icon('synthese_view.gif',$alt).$alt.'';
+ //echo ''.Display::return_icon('excel.gif',get_lang('ExportAsCSV')).get_lang('ExportAsCSV').'';
+ echo '' . Display :: return_icon('excel.gif', get_lang('ExportAsXLS')) . get_lang('ExportAsXLS') . '';
+ //echo ''.Display::return_icon('synthese_view.gif',$alt).$alt.'';
echo '' . Display :: return_icon('quiz.gif', get_lang('BackToExercisesList')) . get_lang('BackToExercisesList') . '';
echo '