From 7c096d976976fee4f048cc461f3e790f948b3887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Wed, 16 Oct 2013 15:48:52 +0200 Subject: [PATCH] // small fix --- .../template/controllers/performance/helpers/form/form.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/themes/default/template/controllers/performance/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/performance/helpers/form/form.tpl index 517808419..ffe93c246 100644 --- a/admin-dev/themes/default/template/controllers/performance/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/performance/helpers/form/form.tpl @@ -31,7 +31,7 @@ {/if} {$smarty.block.parent} - {if $input.type == 'radio' && $input.name == 'smarty_cache'} + {if in_array($input.type, array('radio', 'switch')) && $input.name == 'smarty_cache'} {l s='Clear Smarty cache & Autoload cache'} {/if} {/block}