MDL-32490 Offline assignment: phpdocs and whitespace fixes

This commit is contained in:
Eloy Lafuente (stronk7)
2012-04-25 02:40:35 +02:00
parent 2ae4f3849a
commit 2c6dbf4a54
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class mod_assignment_mod_form extends moodleform_mod {
$ynoptions = array( 0 => get_string('no'), 1 => get_string('yes'));
if ($assignmentinstance->supports_lateness()) {
if ($assignmentinstance->supports_lateness()) {
$mform->addElement('select', 'preventlate', get_string('preventlate', 'assignment'), $ynoptions);
$mform->setDefault('preventlate', 0);
}