diff --git a/lang/en/attendance.php b/lang/en/attendance.php index a80554a..8ecaeb4 100644 --- a/lang/en/attendance.php +++ b/lang/en/attendance.php @@ -158,7 +158,7 @@ $string['emailcontent_help'] = 'When a warning is sent to a student, it takes th
  • %numtakensessions%
  • %points%
  • %maxpoints%
  • -
  • %precent%
  • +
  • %percent%
  • '; $string['emailsubject'] = 'Email subject'; diff --git a/locallib.php b/locallib.php index b540213..0814bba 100644 --- a/locallib.php +++ b/locallib.php @@ -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) {