Commit 51b355b9 authored by Francois Gannaz's avatar Francois Gannaz
Browse files

Activity form: fix for mission list

parent e2ef0aa8
...@@ -50,7 +50,7 @@ class mod_labnbook_mod_form extends moodleform_mod { ...@@ -50,7 +50,7 @@ class mod_labnbook_mod_form extends moodleform_mod {
$missionsList = array_map( $missionsList = array_map(
function($x) { return "[{$x->code}] {$x->name}"; }, function($x) { return "[{$x->code}] {$x->name}"; },
$missions array_values((array) $missions)
); );
$mform->addElement('header', 'external', "LabNbook"); $mform->addElement('header', 'external', "LabNbook");
$mform->addElement( $mform->addElement(
......
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