From 88156e6eafc5dde8f583b4a3d24016f02059b9db Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 22 May 2012 13:54:46 +0000 Subject: [PATCH] // fix issue in AdminPayment git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15624 b9a71923-0436-4b27-9f14-aed3839534dd --- .../default/template/controllers/payment/restrictions.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/payment/restrictions.tpl b/admin-dev/themes/default/template/controllers/payment/restrictions.tpl index 60ac3cff8..fa8c9eecc 100644 --- a/admin-dev/themes/default/template/controllers/payment/restrictions.tpl +++ b/admin-dev/themes/default/template/controllers/payment/restrictions.tpl @@ -52,8 +52,9 @@ {foreach $payment_modules as $key_module => $module} {if $module->active} + {assign var='type' value='null'} {if !$item['check_list'][$key_module]} - {$type = null} + {* Keep $type to null *} {elseif $list['name_id'] === 'currency'} {if $module->currencies && $module->currencies_mode == 'checkbox'} {$type = 'checkbox'} @@ -63,7 +64,7 @@ {else} {$type = 'checkbox'} {/if} - {if $type != null} + {if $type != 'null'}