From 597af18edf0c143d78797381226f28157a470617 Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Wed, 21 Nov 2012 07:11:27 +0100 Subject: change data output for debug purpos. --- sqlbox/view.php | 5 +---- 1 file changed, 1 insertion(+), 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(); -- cgit