mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 11:26:41 +02:00
parent
2f39268b3d
commit
b082b2c641
2 changed files with 39 additions and 36 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue