diff --git a/classes/task/mailing_task.php b/classes/task/mailing_task.php index 5dbf8a9..b560c30 100644 --- a/classes/task/mailing_task.php +++ b/classes/task/mailing_task.php @@ -128,7 +128,7 @@ public function execute() { // For each report, we test each course for a teacher. foreach ($dbresultlistcoursesforteacher as $listcourse) { // If a report exists for a course, add course name to the list with direct link. - if ($report['report'] == 'orphan_submissions') { + if ($report['report'] == 'orphan_submissions') { $checkreport = $DB->get_records('report_coursemanager_orphans', ['course' => $listcourse->courseid]); } else {