summaryrefslogtreecommitdiff
path: root/sqlbox
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-21 09:25:12 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-21 10:25:22 +0100
commit4e71a612e6449cf022b948e0d1db4fa8e258281d (patch)
tree07d00a4b3890b0b041ea3924cbb37c8b2f828032 /sqlbox
parent49cee88bd8b1696f49e732e08765e98cf93e3839 (diff)
downloadsqltutor-plugin-4e71a612e6449cf022b948e0d1db4fa8e258281d.tar.gz
sqltutor-plugin-4e71a612e6449cf022b948e0d1db4fa8e258281d.tar.bz2
sqltutor-plugin-4e71a612e6449cf022b948e0d1db4fa8e258281d.zip
sqlbox/view: Pass page url to form
Diffstat (limited to 'sqlbox')
-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