Fix generazione stampe

This commit is contained in:
pek5892 2024-05-22 12:19:40 +02:00
parent 9883e392b2
commit 420bbba8f1
1 changed files with 3 additions and 3 deletions

View File

@ -30,6 +30,6 @@ foreach ($replaces as $key => $value) {
} }
// Sostituisce alle variabili del template i valori // Sostituisce alle variabili del template i valori
$head = str_replace(array_keys($replaces), array_values($replaces), $head); $head = str_replace(array_keys($replaces), array_values($replaces), !empty($head) ? $head : '');
$foot = str_replace(array_keys($replaces), array_values($replaces), $foot); $foot = str_replace(array_keys($replaces), array_values($replaces), !empty($foot) ? $foot : '');
$report = str_replace(array_keys($replaces), array_values($replaces), $report); $report = str_replace(array_keys($replaces), array_values($replaces), !empty($report) ? $report : '');