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; ?> <?php continue; ?>
{/if} {/if}
{if $key == 'siret'} {if $key == 'siret'}
<?php $value = implode(' ', str_split($value, 3)); ?> <?php
if (null === $value) { $value = ""; }
$value = implode(' ', str_split($value, 3));
?>
{/if} {/if}
<td>{$value}</td> <td>{$value}</td>
{/foreach} {/foreach}