Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LabNbook
LabNbook-Moodle
Commits
51b355b9
Commit
51b355b9
authored
Feb 26, 2019
by
Francois Gannaz
Browse files
Activity form: fix for mission list
parent
e2ef0aa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod_form.php
View file @
51b355b9
...
@@ -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
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment