From a91187dcabf4dbeb4cb6a5b4b942d3be3819c806 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Fri, 17 Feb 2012 16:22:16 +0000 Subject: [PATCH] // Fix little bug in helperform --- admin-dev/themes/default/template/helpers/form/form.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin-dev/themes/default/template/helpers/form/form.tpl b/admin-dev/themes/default/template/helpers/form/form.tpl index c6087b64f..c6aefa919 100644 --- a/admin-dev/themes/default/template/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/helpers/form/form.tpl @@ -184,7 +184,7 @@ || empty($fields_value[$input.name]) && isset($input.options.preselect_country) && isset($input.options.preselect_country) - && $option->$input.options.id == $default_country}} + && $option->$input.options.id == $default_country} selected="selected" {/if} {/if} @@ -197,7 +197,7 @@ || empty($field_value) && isset($input.options.preselect_country) && isset($input.options.preselect_country) - && $option[$input.options.id] == $default_country}} + && $option[$input.options.id] == $default_country} selected="selected" {/if} {/foreach} @@ -206,7 +206,7 @@ || empty($fields_value[$input.name]) && isset($input.options.preselect_country) && isset($input.options.preselect_country) - && $option[$input.options.id] == $default_country}} + && $option[$input.options.id] == $default_country} selected="selected" {/if} {/if}