Skip to content

Commit ef32124

Browse files
committed
Fix: correzione risorsa riga intervento per app
1 parent b87410d commit ef32124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/API/App/v1/RigheInterventi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function retrieveRecord($id)
135135
'totale_imponibile' => $riga->totale_imponibile,
136136
'iva' => $riga->iva,
137137
'totale' => $riga->totale,
138-
'serials' => implode(',', $riga->serials),
138+
'serials' => (!empty($riga->serials)) ? implode(',', $riga->serials) : '',
139139
];
140140

141141
return $record;

0 commit comments

Comments
 (0)