diff --git a/classes/task/lifecycle_error_notify_task.php b/classes/task/lifecycle_error_notify_task.php
index c20aee73f7bdf1a02478243ce7ddbd1c14dd5d2e..c2a76ca7144fe63374ca748f1bb2e3d0872e586f 100644
--- a/classes/task/lifecycle_error_notify_task.php
+++ b/classes/task/lifecycle_error_notify_task.php
@@ -71,7 +71,7 @@ class lifecycle_error_notify_task extends \core\task\scheduled_task {
         email_to_user(get_admin(), \core_user::get_noreply_user(),
             get_string('notifyerrorsemailsubject', 'tool_lifecycle', $obj),
             get_string('notifyerrorsemailcontent', 'tool_lifecycle', $obj),
-            get_string('notifyerrorsemailcontenthtml', 'tool_lifecycle', $obj),
+            get_string('notifyerrorsemailcontenthtml', 'tool_lifecycle', $obj)
         );
     }
 }