mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
some minor cleanup/bug fix
This commit is contained in:
parent
5b5eb8e6c7
commit
7759d32720
11 changed files with 30 additions and 67 deletions
|
@ -121,7 +121,7 @@ class grade_export {
|
|||
foreach ($itemids as $iid) {
|
||||
|
||||
if ($iid) {
|
||||
$params->id = $iid;
|
||||
$params->id = clean_param($iid, PARAM_INT);
|
||||
$gradeitems[] = new grade_item($params);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue