Skip to content

Commit

Permalink
Merge branch 'MDL-37707-26' of git://github.com/FMCorz/moodle into MO…
Browse files Browse the repository at this point in the history
…ODLE_26_STABLE
  • Loading branch information
Sam Hemelryk committed Sep 28, 2014
2 parents 9ff32d8 + 9fd75ed commit 811f235
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mod/assign/mod_form.php
Expand Up @@ -129,6 +129,9 @@ public function definition() {
$name = get_string('teamsubmission', 'assign');
$mform->addElement('selectyesno', 'teamsubmission', $name);
$mform->addHelpButton('teamsubmission', 'teamsubmission', 'assign');
if ($assignment->has_submissions_or_grades()) {
$mform->freeze('teamsubmission');
}

$name = get_string('requireallteammemberssubmit', 'assign');
$mform->addElement('selectyesno', 'requireallteammemberssubmit', $name);
Expand Down

0 comments on commit 811f235

Please sign in to comment.