Removed unnecessary second parameter for the render function

This commit is contained in:
Mark Nelson 2013-06-05 16:42:18 +08:00
parent 220d83935f
commit 59ea1afd75
9 changed files with 18 additions and 26 deletions

View file

@ -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.