diff --git a/certificates/index.php b/certificates/index.php
index 7b091a38aa..373281ea82 100755
--- a/certificates/index.php
+++ b/certificates/index.php
@@ -39,7 +39,7 @@ switch ($action) {
$pageFormat = $pdfParams['orientation'] === 'landscape' ? 'A4-L' : 'A4';
$userInfo = api_get_user_info($certificate->user_id);
- $pdfName = api_replace_dangerous_char(get_lang('Certificate') . ' ' . $userInfo['username']);
+ $pdfName = api_replace_dangerous_char(get_lang('Certificate').' '.$userInfo['username']);
$pdf = new PDF($pageFormat, $pdfParams['orientation'], $pdfParams);
$pdf->html_to_pdf(
diff --git a/main/admin/legal_add.php b/main/admin/legal_add.php
index 37d6689123..2ce4d8b1d3 100755
--- a/main/admin/legal_add.php
+++ b/main/admin/legal_add.php
@@ -47,7 +47,7 @@ if ($form->validate()) {
} else {
$changes = '';
}
- $submit = $values['send'];
+ $submit = $values['send'];
$default['content'] = $content;
if (isset($values['language'])) {
@@ -66,7 +66,7 @@ if ($form->validate()) {
Display::addFlash(Display::return_message($message));
header('Location: legal_list.php?sec_token='.$tok);
exit();
- } elseif ($submit=='preview') {
+ } elseif ($submit == 'preview') {
$defaults['type'] = $type;
$defaults['content'] = $content;
$defaults['changes'] = $changes;
@@ -143,7 +143,7 @@ if (isset($_POST['language'])) {
}
$tool_name = get_lang('AddTermsAndConditions');
-$interbreadcrumb[] = array ("url" => 'index.php', "name" => get_lang('PlatformAdmin'));
+$interbreadcrumb[] = array("url" => 'index.php', "name" => get_lang('PlatformAdmin'));
Display :: display_header($tool_name);
echo '';
+ $htmlHeadXtra[] = '';
$defaultCommissions = [];
$commissions = '';
}
@@ -165,9 +165,9 @@ if ($commissionsEnable === 'true') {
. '