From f3f920d24f6139c6752a3567b91b28bd537a702d Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Fri, 30 Oct 2015 16:26:37 +0000 Subject: [PATCH] MDL-46350 blog: call parent validation (Helps satify codechecker, thats all..) --- blog/edit_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/edit_form.php b/blog/edit_form.php index 805bf7918d4..773f1533e11 100644 --- a/blog/edit_form.php +++ b/blog/edit_form.php @@ -151,7 +151,7 @@ class blog_edit_form extends moodleform { public function validation($data, $files) { global $CFG, $DB, $USER; - $errors = array(); + $errors = parent::validation($data, $files); // Validate course association. if (!empty($data['courseassoc'])) {