diff --git a/templates/web/prod/results/record.html.twig b/templates/web/prod/results/record.html.twig index 7cc96acccf..8209450656 100644 --- a/templates/web/prod/results/record.html.twig +++ b/templates/web/prod/results/record.html.twig @@ -66,7 +66,7 @@ {% if thumbnail.path is defined and (thumbnail.path is not empty or thumbnail.path is not none) %} {% set path = thumbnail.path %} {% else %} - {% set path = app['root.path'] ~ '/www/skins/icons/' ~ record.mimeType|replace({'/': '_'} ~ '.png') %} + {% set path = app['root.path'] ~ '/www/skins/icons/' ~ record.mimeType|replace({'/': '_'}) ~ '.png' %} {% endif %} {% set url = app['phraseanet.static-file'].getUrl(path) %}