mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix importazione allegati FE senza estensione
This commit is contained in:
@@ -179,7 +179,7 @@ class FatturaElettronica
|
||||
foreach ($allegati as $allegato) {
|
||||
$content = base64_decode($allegato['Attachment']);
|
||||
|
||||
$extension = '';
|
||||
$extension = '.pdf';
|
||||
if (!empty($allegato['FormatoAttachment'])) {
|
||||
$extension = '.'.strtolower($allegato['FormatoAttachment']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user