We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b79aada commit 59b4a98Copy full SHA for 59b4a98
1 file changed
plugins/exportFE/src/FatturaElettronica.php
@@ -1434,7 +1434,7 @@ protected static function getDatiBeniServizi($fattura)
1434
// Aggiunta dei riferimenti ai documenti
1435
if (setting('Riferimento dei documenti in Fattura Elettronica') == 0) {
1436
$pos = strpos((string) $descrizione, 'Rif.');
1437
- if ($pos !== false) {
+ if ($pos !== false && $pos > 0) {
1438
$descrizione = substr((string) $descrizione, 0, $pos);
1439
}
1440
0 commit comments