diff --git a/templates/web/prod/actions/Tools/index.html.twig b/templates/web/prod/actions/Tools/index.html.twig index 583f395bbb..2016ac3617 100644 --- a/templates/web/prod/actions/Tools/index.html.twig +++ b/templates/web/prod/actions/Tools/index.html.twig @@ -131,9 +131,9 @@ {% set height = record.get_technical_infos(dataH) %} {% if width and height %} - {% set ratio = (width / height) %} + {% set ratio = width / height %} {% else %} - {% set ratio = 1 %} + {% set ratio = '' %} {% endif %}