mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
- Templates LSformElement* : Problème possible revelé sur
LSformElement_select_object : Les valeurs des foreach key et item ne sont pas réécrite lors d'un {foreachelse} et du coup les valeurs d'un élément au dessus sont utilisées.
This commit is contained in:
parent
854ac3d867
commit
03c6892e0f
3 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
{foreach from=$values item=value}
|
||||
<li>{include file=$fieldTemplate}</li>
|
||||
{foreachelse}
|
||||
{assign var=value value=""}
|
||||
<li>{include file=$fieldTemplate}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{foreach from=$values item=value}
|
||||
<li{if !$freeze} class='LSformElement_boolean'{/if}>{include file=$fieldTemplate}</li>
|
||||
{foreachelse}
|
||||
{assign var=value value=""}
|
||||
<li{if !$freeze} class='LSformElement_boolean'{/if}>{include file=$fieldTemplate}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
{foreach from=$values item=txt key=dn}
|
||||
<li>{include file=$fieldTemplate}</li>
|
||||
{foreachelse}
|
||||
{assign var=dn value=""}
|
||||
{assign var=txt value=""}
|
||||
<li>{include file=$fieldTemplate}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue