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
caseine
moodle-mod_vpl
Commits
be094356
Commit
be094356
authored
Mar 01, 2021
by
Astor Bizard
Browse files
Fixed all submissions download.
parent
62b2a16d
Changes
1
Hide whitespace changes
Inline
Side-by-side
vpl.class.php
View file @
be094356
...
...
@@ -1130,7 +1130,10 @@ class mod_vpl {
$nostudents
[
$user
->
id
]
=
true
;
}
$students
=
array
();
$fields
=
user_picture
::
fields
(
'u'
)
.
$extrafields
;
$fields
=
user_picture
::
fields
(
'u'
);
if
(
$extrafields
>
''
)
{
$fields
.
=
','
.
$extrafields
;
}
$all
=
get_users_by_capability
(
$this
->
get_context
(),
VPL_SUBMIT_CAPABILITY
,
$fields
,
'u.lastname ASC'
,
''
,
''
,
$group
);
// TODO the following code is too slow.
...
...
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