From 00a56d9c9f3e99e6d86506943449b43af69713df Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Fri, 20 Mar 2020 12:48:53 +0530 Subject: Modify the downloadable file name --- pdf/mentor_cert_pdf.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf/mentor_cert_pdf.inc') diff --git a/pdf/mentor_cert_pdf.inc b/pdf/mentor_cert_pdf.inc index 7f63658..19945e6 100755 --- a/pdf/mentor_cert_pdf.inc +++ b/pdf/mentor_cert_pdf.inc @@ -111,7 +111,7 @@ function generate_pdf() $pdf->SetY(-65); $pdf->Ln(13); $pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 75, $pdf->GetY(), 30, 0); - $filename = str_replace(' ', '-', $data3->contributor_name) . '-DWSIM-Flowsheet-Certificate.pdf'; + $filename = str_replace(' ', '-', $data3->project_guide_name) . '-OpenModelica-PSSP-Mentor-Certificate.pdf'; $file = $path . '/pdf/temp_certificate/' . $proposal_id . '_' . $filename; $pdf->Output($file, 'F'); header("Content-Type: application/octet-stream"); -- cgit