mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merging from STABLE:
Better retrieval of table sortorder when not done directly through the table class, see SC#187.
This commit is contained in:
parent
e60b454b50
commit
4fdabdc36f
@ -628,9 +628,9 @@ class assignment_base {
|
||||
|
||||
global $CFG;
|
||||
|
||||
$userid = required_param('userid');
|
||||
$offset = required_param('offset');//offset for where to start looking for student.
|
||||
$sort = required_param('tsort');//getting the sorting order
|
||||
$userid = required_param('userid', PARAM_INT);
|
||||
$offset = required_param('offset', PARAM_INT);//offset for where to start looking for student.
|
||||
$sort = required_param('tsort', PARAM_ALPHA);//getting the sorting order
|
||||
|
||||
if (!$user = get_record('user', 'id', $userid)) {
|
||||
error('No such user!');
|
||||
|
Loading…
x
Reference in New Issue
Block a user