diff --git a/plugin/customcertificate/src/print_certificate.php b/plugin/customcertificate/src/print_certificate.php index 362575fae5..70b210c00e 100644 --- a/plugin/customcertificate/src/print_certificate.php +++ b/plugin/customcertificate/src/print_certificate.php @@ -101,7 +101,7 @@ if (empty($infoCertificate)) { $workSpace = intval(297 - $infoCertificate['margin_left'] - $infoCertificate['margin_right']); $widthCell = intval($workSpace / 6); -$htmlText = ''; +$htmlText = ''; $htmlText .= ' '; + $htmlText .= '
'; } if (!empty($infoCertificate['logo_left'])) { @@ -314,7 +312,7 @@ foreach ($userList as $userInfo) { $htmlText .= '
'; // Rear certificate - $htmlText .= '
'; + $htmlText .= '
'; if ($infoCertificate['contents_type'] == 0) { $courseDescription = new CourseDescription(); $contentDescription = $courseDescription->get_data_by_description_type(3, $courseId, 0); @@ -443,7 +441,7 @@ foreach ($userList as $userInfo) { } $htmlText .= '
'; } -$htmlText .= ''; +$htmlText .= ''; $fileName = 'certificate_'.date("Ymd_His"); $params = [ 'filename' => $fileName,