Fix minore

This commit is contained in:
valentina 2024-06-24 12:18:57 +02:00
parent 60c308d728
commit 76c451f333
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ class Fattura extends Document
{
$file = $this->getFatturaElettronica();
return !empty($this->progressivo_invio) && file_exists('files/'.$file->directory);
return !empty($this->progressivo_invio) && $file->directory && file_exists('files/'.$file->directory);
}
/**