import: fix displaying attribute errors two times

This commit is contained in:
Benjamin Renard 2023-07-03 12:02:02 +02:00
parent b1ee3460b1
commit 33e0687d1e
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -73,7 +73,7 @@
</li>
{/foreach}
{foreach $error.errors.attrs as $a => $es}
{if !in_array($a,$error.data)}
{if !array_key_exists($a, $error.data)}
<li>
<strong>{$a|escape:"htmlall"} :</strong>
<ul class='LSio_attr_errors'>