From 4ead4be8d74ef71eaed04513489220da7414129c Mon Sep 17 00:00:00 2001 From: loviuz <1647128+loviuz@users.noreply.github.com> Date: Sun, 1 Apr 2018 00:18:21 +0200 Subject: [PATCH] Migliorato controllo partita iva --- templates/interventi/body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/interventi/body.php b/templates/interventi/body.php index dae892475..0d0a4acea 100644 --- a/templates/interventi/body.php +++ b/templates/interventi/body.php @@ -31,7 +31,7 @@ echo ' // Codice fiscale o P.Iva - if ($c_piva != 0) { + if (!empty($c_piva)) { echo ' '.tr('P.Iva').': '.strtoupper($c_piva).'