1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-16 19:40:44 +01:00

Fix minore

This commit is contained in:
valentina 2024-06-24 12:18:57 +02:00
parent 60c308d728
commit 76c451f333

View File

@ -535,7 +535,7 @@ class Fattura extends Document
{ {
$file = $this->getFatturaElettronica(); $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);
} }
/** /**