|
@ -30,7 +30,7 @@ $pageparams = new mod_attendance_take_page_params(); |
|
|
$id = required_param('id', PARAM_INT); |
|
|
$id = required_param('id', PARAM_INT); |
|
|
$pageparams->sessionid = required_param('sessionid', PARAM_INT); |
|
|
$pageparams->sessionid = required_param('sessionid', PARAM_INT); |
|
|
$pageparams->grouptype = required_param('grouptype', PARAM_INT); |
|
|
$pageparams->grouptype = required_param('grouptype', PARAM_INT); |
|
|
$pageparams->sort = optional_param('sort', null, PARAM_INT); |
|
|
$pageparams->sort = optional_param('sort', ATT_SORT_DEFAULT, PARAM_INT); |
|
|
$pageparams->copyfrom = optional_param('copyfrom', null, PARAM_INT); |
|
|
$pageparams->copyfrom = optional_param('copyfrom', null, PARAM_INT); |
|
|
$pageparams->viewmode = optional_param('viewmode', null, PARAM_INT); |
|
|
$pageparams->viewmode = optional_param('viewmode', null, PARAM_INT); |
|
|
$pageparams->gridcols = optional_param('gridcols', null, PARAM_INT); |
|
|
$pageparams->gridcols = optional_param('gridcols', null, PARAM_INT); |
|
|