Skip to content

Commit 13ee855

Browse files
committed
fix: correzione salvataggio firma
1 parent c141454 commit 13ee855

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/API/App/v1/Interventi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ protected function aggiornaRecord($record, $data)
336336
$record->idpagamento = $data['id_pagamento'] ?: 0;
337337

338338
// Salvataggio firma eventuale
339-
if (empty($record->firma_nome) && !empty($data['firma_nome'])) {
339+
if (empty($record->firma_file) && !empty($data['firma_contenuto'])) {
340340
$record->firma_nome = $data['firma_nome'];
341341
$record->firma_data = $data['firma_data'];
342342

0 commit comments

Comments
 (0)