diff --git a/admin/tool/task/scheduledtasks.php b/admin/tool/task/scheduledtasks.php index 3963aaff2f2..4b6f3441eb8 100644 --- a/admin/tool/task/scheduledtasks.php +++ b/admin/tool/task/scheduledtasks.php @@ -104,11 +104,11 @@ if ($mform && ($mform->is_cancelled() || !empty($CFG->preventscheduledtaskchange } else { echo $OUTPUT->header(); - $error = optional_param('error', '', PARAM_NOTAG); + $error = optional_param('error', '', PARAM_NOTAGS); if ($error) { echo $OUTPUT->notification($error, 'notifyerror'); } - $success = optional_param('success', '', PARAM_NOTAG); + $success = optional_param('success', '', PARAM_NOTAGS); if ($success) { echo $OUTPUT->notification($success, 'notifysuccess'); }