@ -158,7 +158,7 @@ $string['emailcontent_help'] = 'When a warning is sent to a student, it takes th
<li>%numtakensessions%</li>
<li>%points%</li>
<li>%maxpoints%</li>
<li>%precent%</li>
<li>%percent%</li>
</ul>';
$string['emailsubject'] = 'Email subject';
@ -804,7 +804,7 @@ function attendance_template_variables($record) {
'/%numtakensessions%/' => $record->numtakensessions,
'/%points%/' => $record->points,
'/%maxpoints%/' => $record->maxpoints,
'/%precent%/' => $record->percent,
'/%percent%/' => $record->percent,
);
$extrauserfields = get_all_user_name_fields();
foreach ($extrauserfields as $extra) {