Skip to content

Commit

Permalink
MDL-12909 do not included users without idnumber in xml grade export …
Browse files Browse the repository at this point in the history
…preview; merged from MOODLE_19_STABLE
  • Loading branch information
skodak committed Feb 20, 2008
1 parent 2dc5d98 commit 8a59f28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grade/export/lib.php
Expand Up @@ -224,6 +224,9 @@ function display_preview() {
break;
}
$user = $userdata->user;
if (empty($user->idnumber)) {
continue;
}

$gradeupdated = false; // if no grade is update at all for this user, do not display this row
$rowstr = '';
Expand Down

0 comments on commit 8a59f28

Please sign in to comment.