Merge branch 'MDL-50652_29' of git://github.com/reskit/moodle into MOODLE_29_STABLE
This commit is contained in:
@@ -345,7 +345,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']) {
|
||||
|
||||
Reference in New Issue
Block a user