From cfa726f2ee8eec6feb10a945666aced1853d204a Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Thu, 7 Nov 2013 12:12:26 +0100 Subject: [PATCH] Fix #1575 : Allow stemmed search only if stemming is enabled --- templates/web/prod/index.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index 957a104631..c7de406d9b 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -343,10 +343,10 @@ {% endfor %} - {% if app['phraseanet.SE'].hasStemming() %} + {% if app['phraseanet.SE'].hasStemming() and app['phraseanet.SE'].isStemmingEnabled() %}
{% endif %}