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.
This commit is contained in:
parent
e77df1e29f
commit
d58349069d
1 changed files with 0 additions and 1 deletions
|
@ -67,7 +67,6 @@ if ($mform->is_cancelled()) {
|
||||||
// Handle form cancellation, if necessary
|
// Handle form cancellation, if necessary
|
||||||
redirect(new moodle_url('/admin/report.php'));
|
redirect(new moodle_url('/admin/report.php'));
|
||||||
} else if ($data = $mform->get_data()) {
|
} else if ($data = $mform->get_data()) {
|
||||||
print_r($data);
|
|
||||||
$userid = $data->userid;
|
$userid = $data->userid;
|
||||||
|
|
||||||
// Fetch and display user grades if a user is selected
|
// Fetch and display user grades if a user is selected
|
||||||
|
|
Loading…
Reference in a new issue