Browse Source

Fix typo in var translation.

MOODLE_33_STABLE
Dan Marsden 8 years ago
parent
commit
3751e7fb44
  1. 2
      lang/en/attendance.php
  2. 2
      locallib.php

2
lang/en/attendance.php

@ -158,7 +158,7 @@ $string['emailcontent_help'] = 'When a warning is sent to a student, it takes th
<li>%numtakensessions%</li> <li>%numtakensessions%</li>
<li>%points%</li> <li>%points%</li>
<li>%maxpoints%</li> <li>%maxpoints%</li>
<li>%precent%</li> <li>%percent%</li>
</ul>'; </ul>';
$string['emailsubject'] = 'Email subject'; $string['emailsubject'] = 'Email subject';

2
locallib.php

@ -804,7 +804,7 @@ function attendance_template_variables($record) {
'/%numtakensessions%/' => $record->numtakensessions, '/%numtakensessions%/' => $record->numtakensessions,
'/%points%/' => $record->points, '/%points%/' => $record->points,
'/%maxpoints%/' => $record->maxpoints, '/%maxpoints%/' => $record->maxpoints,
'/%precent%/' => $record->percent, '/%percent%/' => $record->percent,
); );
$extrauserfields = get_all_user_name_fields(); $extrauserfields = get_all_user_name_fields();
foreach ($extrauserfields as $extra) { foreach ($extrauserfields as $extra) {

Loading…
Cancel
Save