Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
5fc9fdd5
Commit
5fc9fdd5
authored
Sep 29, 2015
by
Dan Poltawski
Browse files
Merge branch 'MDL-51402' of
git://github.com/timhunt/moodle
parents
2764d7a5
efc76e9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/quiz/locallib.php
View file @
5fc9fdd5
...
...
@@ -1550,7 +1550,7 @@ function quiz_send_notification_messages($course, $quiz, $attempt, $context, $cm
// Check for notifications required.
$notifyfields
=
'u.id, u.username, u.idnumber, u.email, u.emailstop, u.lang, u.timezone, u.mailformat, u.maildisplay, '
;
$notifyfields
.
=
get_all_user_name_fields
(
true
,
'u'
);
$groups
=
groups_get_all_groups
(
$course
->
id
,
$submitter
->
id
);
$groups
=
groups_get_all_groups
(
$course
->
id
,
$submitter
->
id
,
$cm
->
groupingid
);
if
(
is_array
(
$groups
)
&&
count
(
$groups
)
>
0
)
{
$groups
=
array_keys
(
$groups
);
}
else
if
(
groups_get_activity_groupmode
(
$cm
,
$course
)
!=
NOGROUPS
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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