mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-46350 blog: call parent validation
(Helps satify codechecker, thats all..)
This commit is contained in:
parent
c18acb8997
commit
f3f920d24f
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class blog_edit_form extends moodleform {
|
||||||
public function validation($data, $files) {
|
public function validation($data, $files) {
|
||||||
global $CFG, $DB, $USER;
|
global $CFG, $DB, $USER;
|
||||||
|
|
||||||
$errors = array();
|
$errors = parent::validation($data, $files);
|
||||||
|
|
||||||
// Validate course association.
|
// Validate course association.
|
||||||
if (!empty($data['courseassoc'])) {
|
if (!empty($data['courseassoc'])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue