MDL-46227 fix typo
authorDan Poltawski <dan@moodle.com>
Wed, 9 Jul 2014 07:22:18 +0000 (08:22 +0100)
committerDan Poltawski <dan@moodle.com>
Wed, 9 Jul 2014 07:22:45 +0000 (08:22 +0100)
admin/tool/task/scheduledtasks.php

index 3963aaf..4b6f344 100644 (file)
@@ -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');
     }