Merge branch 'MDL-37804_24' of github.com:recreate/moodle into MOODLE_24_STABLE

This commit is contained in:
Dan Poltawski
2013-09-09 17:13:49 +08:00
+4
View File
@@ -4005,6 +4005,10 @@ class assign {
return true;
}
if ($data = $mform->get_data()) {
if (!$this->submissions_open()) {
$notices[] = get_string('duedatereached', 'assign');
return false;
}
if ($this->get_instance()->teamsubmission) {
$submission = $this->get_group_submission($USER->id, 0, true);
} else {