Fixed Bugs #1059 and #1061.

This commit is contained in:
rkingdon 2004-03-12 15:28:52 +00:00
parent 2f39268b3d
commit b082b2c641
2 changed files with 39 additions and 36 deletions

View file

@ -1025,7 +1025,8 @@
}
}
else { // funny this user did not submit - create a dummy submission to hold any grades they might have
$bestsubmission->workshopid = $workshop->id;
unset($bestsubmission);
$bestsubmission->workshopid = $workshop->id;
$bestsubmission->userid = $user->id;
$bestsubmission->title = "No Submission";
$bestsubmission->timecreated = 0;