Removed unnecessary second parameter for the render function
This commit is contained in:
parent
220d83935f
commit
59ea1afd75
9 changed files with 18 additions and 26 deletions
2
edit.php
2
edit.php
|
@ -183,7 +183,7 @@ if ($data = $mform->get_data()) {
|
|||
|
||||
// Check if we want to preview this custom certificate.
|
||||
if (!empty($data->previewbtn)) {
|
||||
customcert_generate_pdf($customcert, $USER->id);
|
||||
customcert_generate_pdf($customcert);
|
||||
}
|
||||
|
||||
// Redirect to the editing page to show form with recent updates.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue