We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6965b commit 7208fbeCopy full SHA for 7208fbe
classes/models/submission.php
@@ -1222,6 +1222,7 @@ private function is_submission_on_behalf() {
1222
1223
public function get_submissions_in_sample() {
1224
assessment_set_membership::fill_pool_coursework($this->courseworkid);
1225
+ $allocatable = $this->get_allocatable();
1226
$records = isset(assessment_set_membership::$pool[$this->courseworkid]['allocatableid-allocatabletype'][$allocatable->id . '-' . $allocatable->type()]) ?
1227
assessment_set_membership::$pool[$this->courseworkid]['allocatableid-allocatabletype'][$allocatable->id . '-' . $allocatable->type()] : [];
1228
return $records;
0 commit comments