summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sqlbox/view.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/sqlbox/view.php b/sqlbox/view.php
index 426e1d9..ee30811 100644
--- a/sqlbox/view.php
+++ b/sqlbox/view.php
@@ -75,9 +75,8 @@ if ($sqlbox->intro) { // Conditions to show the intro can change to look for own
// Replace the following lines with you own code
echo $OUTPUT->heading('Yay! It works!');
-$form = new mod_sqlbox_form(NULL, array());
+$form = new mod_sqlbox_form($PAGE->url->out(false));
$form->display();
-
print_r($form->get_data());
// Finish the page