From 6f47fef33a3ac3e7b3a0df7c8c7efa529cbb9875 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 6 Oct 2020 16:18:06 +0200 Subject: [PATCH] Fix note in prima nota --- modules/primanota/src/Movimento.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/primanota/src/Movimento.php b/modules/primanota/src/Movimento.php index bd57a229e..ff7674952 100755 --- a/modules/primanota/src/Movimento.php +++ b/modules/primanota/src/Movimento.php @@ -44,7 +44,7 @@ class Movimento extends Model $model->idmastrino = $mastrino->idmastrino; $model->data = $mastrino->data; $model->descrizione = $mastrino->descrizione; - $model->note = $mastrino->note; + $model->note = ($mastrino->note)? :''; $model->primanota = $mastrino->primanota; $model->is_insoluto = $mastrino->is_insoluto;