Explorar o código

Fixing missing get_lang call!

Julio Montoya %!s(int64=13) %!d(string=hai) anos
pai
achega
13e28decfd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      main/attendance/attendance_sheet.php

+ 1 - 1
main/attendance/attendance_sheet.php

@@ -54,7 +54,7 @@ if (api_is_allowed_to_edit(null, true)) {
     }
     
     if (!$exists_attendance_today) {
-        Display::display_warning_message('ThereIsNoClassScheduledTodayTryPickingAnotherDay');
+        Display::display_warning_message(get_lang('ThereIsNoClassScheduledTodayTryPickingAnotherDay'));
     }
     
     $form->addElement('select', 'filter', get_lang('Filter'), $values);