summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-11-21 07:11:27 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2012-11-21 07:11:27 +0100
commit597af18edf0c143d78797381226f28157a470617 (patch)
tree035b2a57a19d512ab46db75d9bb2aaf32482ab30
parent731c82ea796e95d6c717deaad4bd164dba65ad6f (diff)
downloadsqltutor-plugin-597af18edf0c143d78797381226f28157a470617.tar.gz
sqltutor-plugin-597af18edf0c143d78797381226f28157a470617.tar.bz2
sqltutor-plugin-597af18edf0c143d78797381226f28157a470617.zip
change data output for debug purpos.
-rw-r--r--sqlbox/view.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/sqlbox/view.php b/sqlbox/view.php
index 123c21f..426e1d9 100644
--- a/sqlbox/view.php
+++ b/sqlbox/view.php
@@ -78,10 +78,7 @@ echo $OUTPUT->heading('Yay! It works!');
$form = new mod_sqlbox_form(NULL, array());
$form->display();
-$data = $form->get_data();
-
-if ($data)
- print_r($data);
+print_r($form->get_data());
// Finish the page
echo $OUTPUT->footer();