Commit 1fcfdacd authored by Nigel McNie's avatar Nigel McNie
Browse files

Set a sensible default for authinstance on the add user form.

parent 5b97884b
......@@ -106,6 +106,7 @@ if (count($authinstances) > 0) {
'type' => 'select',
'title' => get_string('institution'),
'options' => $options,
'defaultvalue' => 1,
'rules' => array('required' => true),
);
$elements['institutionadmin'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment