Fix lang vars to enable translation of field names in certificates search - refs BT#10297 #FGE

1.10.x
Yannick Warnier 9 years ago
parent ce3d374e77
commit 18dd0d0a31
  1. 4
      main/gradebook/search.php

@ -24,8 +24,8 @@ $userId = isset($_GET['id']) ? intval($_GET['id']) : 0;
$userList = $userInfo = $courseList = $sessionList = []; $userList = $userInfo = $courseList = $sessionList = [];
$searchForm = new FormValidator('search_form', 'post', null, null); $searchForm = new FormValidator('search_form', 'post', null, null);
$searchForm->addText('firstname', get_lang('Firstname')); $searchForm->addText('firstname', get_lang('FirstName'));
$searchForm->addText('lastname', get_lang('Lastname')); $searchForm->addText('lastname', get_lang('LastName'));
$searchForm->addButtonSearch(); $searchForm->addButtonSearch();
if ($searchForm->validate()) { if ($searchForm->validate()) {

Loading…
Cancel
Save