diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-21 07:11:27 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-21 07:11:27 +0100 |
commit | 597af18edf0c143d78797381226f28157a470617 (patch) | |
tree | 035b2a57a19d512ab46db75d9bb2aaf32482ab30 | |
parent | 731c82ea796e95d6c717deaad4bd164dba65ad6f (diff) | |
download | sqltutor-plugin-597af18edf0c143d78797381226f28157a470617.tar.gz sqltutor-plugin-597af18edf0c143d78797381226f28157a470617.tar.bz2 sqltutor-plugin-597af18edf0c143d78797381226f28157a470617.zip |
change data output for debug purpos.
-rw-r--r-- | sqlbox/view.php | 5 |
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(); |