From d58349069d5bf0946ff0c359dcfc3a923f5c0d00 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 20 Nov 2024 15:16:24 +0100 Subject: [PATCH] fix: Removes debug output from form submission Eliminates unnecessary print_r function call for form data, enhancing code clarity and preventing potential data exposure during form submission handling. --- index.php | 1 - 1 file changed, 1 deletion(-) diff --git a/index.php b/index.php index fe9d149..f72398d 100644 --- a/index.php +++ b/index.php @@ -67,7 +67,6 @@ if ($mform->is_cancelled()) { // Handle form cancellation, if necessary redirect(new moodle_url('/admin/report.php')); } else if ($data = $mform->get_data()) { - print_r($data); $userid = $data->userid; // Fetch and display user grades if a user is selected