Commit d90c41d4 authored by xorti's avatar xorti

[FIX] Fix link in Browser Display

parent 11d0620d
Pipeline #49740909 failed with stages
in 26 minutes and 15 seconds
......@@ -119,7 +119,12 @@
</a>
{/if}
<a href="{$file.id|sefurl:file}&display=true">
{assign var="browserDisplay" value="{$file.id|sefurl:file}?display=true"}
{if strpos({$file.id|sefurl:file}, '?')}
{assign var="browserDisplay" value="{$file.id|sefurl:file}&display=true"}
{/if}
<a href="{$browserDisplay}">
{icon name='eye' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Browser display{/tr}"}
</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment