From 4dd956fdb8e3f385818f1ca2ee9b0d00f588b1ff Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 22 May 2012 13:54:46 +0000 Subject: [PATCH] // fix issue in AdminPayment --- .../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'}