Commit 142d17da authored by David Monllaó's avatar David Monllaó
Browse files

Merge branch 'MDL-50652_28' of git://github.com/reskit/moodle into MOODLE_28_STABLE

parents 860a35db f81f6bbd
......@@ -328,7 +328,7 @@ class mod_workshop_mod_form extends moodleform_mod {
* @return array eventual errors indexed by the field name
*/
public function validation($data, $files) {
$errors = array();
$errors = parent::validation($data, $files);
// check the phases borders are valid
if ($data['submissionstart'] > 0 and $data['submissionend'] > 0 and $data['submissionstart'] >= $data['submissionend']) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment