Permalink
Browse files

MDL-41075 Remove "Choose..." option from participants page.

  • Loading branch information...
1 parent 3e6e38b commit ef483684d30e7c3ca8c2ef1105e25f47ebbae411 @mouneyrac mouneyrac committed Dec 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/index.php
View
@@ -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);
}

0 comments on commit ef48368

Please sign in to comment.