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
integration
prechecker
Commits
773582db
Commit
773582db
authored
Sep 29, 2015
by
Dan Poltawski
Browse files
Merge branch 'MDL-51402_28' of
git://github.com/timhunt/moodle
into MOODLE_28_STABLE
parents
964c02c3
bfd6727b
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/quiz/locallib.php
View file @
773582db
...
...
@@ -1483,7 +1483,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