Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 00f266902567e19355599feb774323b89d4f320e 1 parent 98f4a31
@mouneyrac mouneyrac authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  user/index.php
View
2  user/index.php
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.