Fix minore
This commit is contained in:
parent
60c308d728
commit
76c451f333
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue