aboutsummaryrefslogtreecommitdiff
path: root/edit_algebra_form.php
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2018-01-02 22:49:42 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2018-01-02 22:49:42 +0100
commit1f8c26f25b52d410d126eeeb30f61012094beaaa (patch)
tree2100701a3c96d28b4236f527815ca94a369d3ca0 /edit_algebra_form.php
parent6e9f189cdba529e41c345abfd26ffecaede65c4b (diff)
Small fix to the parser and more Behat tests
Diffstat (limited to 'edit_algebra_form.php')
-rw-r--r--edit_algebra_form.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/edit_algebra_form.php b/edit_algebra_form.php
index d7d6b85..e091418 100644
--- a/edit_algebra_form.php
+++ b/edit_algebra_form.php
@@ -260,6 +260,7 @@ class qtype_algebra_edit_form extends question_edit_form {
* @param $files some files - I don't know what this is for! - files defined in the form??
*/
public function validation($data, $files) {
+
// Call the base class validation method and keep any errors it generates.
$errors = parent::validation($data, $files);