Commit d96f61be authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fix a warning when more than one institution is available

parent b38d47ec
......@@ -290,7 +290,11 @@ if (count($institutions) > 1) {
$elements['institution'] = array(
'type' => 'select',
'title' => get_string('institution'),
'options' => $options
'options' => $options,
'defaultvalue' => 'mahara',
'rules' => array(
'required' => true
)
);
}
else if ($institutions) {
......
Supports Markdown
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