some minor cleanup/bug fix

This commit is contained in:
toyomoyo 2007-07-03 06:20:07 +00:00
parent 5b5eb8e6c7
commit 7759d32720
11 changed files with 30 additions and 67 deletions

View file

@ -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);
}
}