Merge branch 'MDL-26119_message_logging' of git://github.com/andyjdavis/moodle

This commit is contained in:
Petr Skoda 2011-02-15 10:39:54 +01:00
commit 64529cb6d2
4 changed files with 31 additions and 16 deletions

View file

@ -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;