Skip to content

Commit

Permalink
MDL-37621 assign: Fix php error on create new assign
Browse files Browse the repository at this point in the history
I removed one too many defaults in the previous patch. This patch
puts back the default for teamsubmissiongroupingid.
  • Loading branch information
Damyon Wiese committed Jun 11, 2013
1 parent a8fe74e commit 3b7eace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/assign/mod_form.php
Expand Up @@ -153,6 +153,7 @@ public function definition() {
$mform->addElement('select', 'teamsubmissiongroupingid', $name, $options);
$mform->addHelpButton('teamsubmissiongroupingid', 'teamsubmissiongroupingid', 'assign');
$mform->disabledIf('teamsubmissiongroupingid', 'teamsubmission', 'eq', 0);
$mform->setDefault('teamsubmissiongroupingid', 0);

$mform->addElement('header', 'notifications', get_string('notifications', 'assign'));

Expand Down

0 comments on commit 3b7eace

Please sign in to comment.