mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
Added object's DN escape in links's URL
This commit is contained in:
parent
3b01977d3c
commit
a8e375589d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
<ul id='LSrelation_ul_{$item.id}' class='LSrelation'>
|
<ul id='LSrelation_ul_{$item.id}' class='LSrelation'>
|
||||||
{foreach from=$item.objectList item=object}
|
{foreach from=$item.objectList item=object}
|
||||||
<li class='LSrelation'><a href='view.php?LSobject={$item.LSobject}&dn={$object.dn}' class='LSrelation{if $object.canEdit} LSrelation_editable{/if}' id='{$object.dn}'>{$object.text}</a></li>
|
<li class='LSrelation'><a href='view.php?LSobject={$item.LSobject}&dn={$object.dn|escape:'url'}' class='LSrelation{if $object.canEdit} LSrelation_editable{/if}' id='{$object.dn}'>{$object.text}</a></li>
|
||||||
{foreachelse}
|
{foreachelse}
|
||||||
<li class='LSrelation'>{$item.emptyText}</li>
|
<li class='LSrelation'>{$item.emptyText}</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
Loading…
Reference in a new issue