From 5ffd01e99f93ca89ad974f2a15290ed1ae7ae91a Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 5 May 2014 11:42:12 +0200 Subject: [PATCH] check if a country is available before displaying it. Fix #359 --- templates/email/default/order_confirmation.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/email/default/order_confirmation.html b/templates/email/default/order_confirmation.html index 8a8e26860..295be4e1a 100644 --- a/templates/email/default/order_confirmation.html +++ b/templates/email/default/order_confirmation.html @@ -112,10 +112,11 @@ {config key="store_name"}
{config key="store_address1"}
{config key="store_zipcode"}, {config key="store_city"}
- {loop type="country" name="store_country" id={config key="store_country"}} - {$TITLE} - {/loop} - + {if {config key="store_country"}} + {loop type="country" name="store_country" id={config key="store_country"}} + {$TITLE} + {/loop} + {/if}

{intl l="Thanks"}