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

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}