Correction bug si SIRET non renseigné

This commit is contained in:
Jean-Christophe Engel 2024-01-12 18:05:38 +01:00
parent e2065bdb37
commit 26f4514fd0
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,10 @@
<?php continue; ?>
{/if}
{if $key == 'siret'}
<?php $value = implode(' ', str_split($value, 3)); ?>
<?php
if (null === $value) { $value = ""; }
$value = implode(' ', str_split($value, 3));
?>
{/if}
<td>{$value}</td>
{/foreach}