Permalink
Browse files

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

  • Loading branch information...
1 parent b3f2d75 commit 97410938cecdc70dc8fb71c852a02a48b9f58c85 @mouneyrac mouneyrac committed Dec 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/index.php
View
@@ -197,7 +197,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 9741093

Please sign in to comment.