summaryrefslogtreecommitdiff
path: root/sqlbox/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'sqlbox/view.php')
-rw-r--r--sqlbox/view.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/sqlbox/view.php b/sqlbox/view.php
index eedca2b..7a151ce 100644
--- a/sqlbox/view.php
+++ b/sqlbox/view.php
@@ -102,6 +102,8 @@ if (isset($data->sqlbox_query)) {
echo $OUTPUT->heading("Correct!");
else
echo $OUTPUT->heading("Incorrect!");
+
+ sqlbox_submit_response($data->sqlbox_query, $sqlbox, $correct, $USER->id);
}
// Finish the page