Skip to content

Commit

Permalink
MDL-41075 Remove "Choose..." option from participants page.
Browse files Browse the repository at this point in the history
  • Loading branch information
mouneyrac committed Dec 16, 2013
1 parent 2f4e0db commit 97b659a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
unset($courselist[SITEID]);
$courselist = array(SITEID => format_string($SITE->shortname, true, array('context' => $systemcontext))) + $courselist;
}
$select = new single_select($popupurl, 'id', $courselist, $course->id, array(''=>'choosedots'), 'courseform');
$select = new single_select($popupurl, 'id', $courselist, $course->id, null, 'courseform');
$select->set_label(get_string('mycourses'));
$controlstable->data[0]->cells[] = $OUTPUT->render($select);
}
Expand Down

0 comments on commit 97b659a

Please sign in to comment.