diff --git a/templates/fatture_elettroniche/body.php b/templates/fatture_elettroniche/body.php index a30168780..5c6e5c6dc 100644 --- a/templates/fatture_elettroniche/body.php +++ b/templates/fatture_elettroniche/body.php @@ -28,7 +28,7 @@ if (empty($file)) { echo '
'.tr('Questo documento non possiede una fattura elettronica associata').'
'; } else { if ($file->isFatturaElettronica()) { - $content = file_get_contents(base_dir().'/'.$file->filepath); + $content = $file->get_contents(); // Individuazione stylesheet $default_stylesheet = 'asso-invoice';