mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-26119_message_logging' of git://github.com/andyjdavis/moodle
This commit is contained in:
commit
64529cb6d2
4 changed files with 31 additions and 16 deletions
|
@ -1154,7 +1154,7 @@ function quiz_send_notification_emails($course, $quiz, $attempt, $context, $cm)
|
|||
// send confirmation if required
|
||||
if ($sendconfirm) {
|
||||
// send the email and update stats
|
||||
switch (quiz_send_confirmation($a)) {
|
||||
switch (!empty(quiz_send_confirmation($a))) {
|
||||
case true:
|
||||
$emailresult['good']++;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue