diff --git a/field/datalynxview/field_form.php b/field/datalynxview/field_form.php index 0285e823..c08aeb98 100644 --- a/field/datalynxview/field_form.php +++ b/field/datalynxview/field_form.php @@ -145,9 +145,6 @@ public function get_data($slashed = true) { */ public function validation($data, $files) { $errors = parent::validation($data, $files); - - $errors = array(); - if (!empty($data['param1']) && empty($data['param2'])) { $errors['param2'] = get_string('missingview', 'datalynxfield_datalynxview'); }