diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2019-04-28 09:37:43 +0200 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2019-04-28 09:37:43 +0200 |
commit | e0dda838a0cffd6b1f4fd3706e75537c1906b5ec (patch) | |
tree | 9d45fa7413700acef68896983e702b7a0ec85ca3 /combinable/combinable.php | |
parent | f2352f6e189fc1a40836957e39f5243b9d826521 (diff) |
Fix errors returned from travis job
Diffstat (limited to 'combinable/combinable.php')
-rw-r--r-- | combinable/combinable.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/combinable/combinable.php b/combinable/combinable.php index e956073..ad4bfaf 100644 --- a/combinable/combinable.php +++ b/combinable/combinable.php @@ -129,12 +129,9 @@ class qtype_combined_combinable_algebra extends qtype_combined_combinable_text_e $variables['varmax'][] = $variable->max; } $data = parent::data_to_form($context, $fileoptions) + $answers + $variables; - - return $data; } - public function validate() { $errors = array(); // Regular expression string to match a number. @@ -258,7 +255,6 @@ class qtype_combined_combinable_algebra extends qtype_combined_combinable_text_e $errors[$this->form_field_name('tolerance')] = get_string('toleranceltzero', 'qtype_algebra'); } - return $errors; } |