bug fix for 4724

This commit is contained in:
toyomoyo 2006-02-09 07:52:48 +00:00
parent 527ec51af5
commit 743500132c

View File

@ -1242,7 +1242,7 @@ function grade_download($download, $id) {
$myxls->write_string($i,5,$student->email);
$j=6;
foreach ($studentgrades as $grade) {
if (is_numeric($grades)) {
if (is_numeric($grade)) {
$myxls->write_number($i,$j++,strip_tags($grade));
}
else {