From 8336c0c64707f3e00e16e55af1f3cba70d66de93 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 24 Mar 2011 16:28:04 +0100 Subject: [PATCH] LSformElement_valueWithUnit : Fixed display error of form when attribute have no value --- .../templates/default/LSformElement_valueWithUnit_field.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/templates/default/LSformElement_valueWithUnit_field.tpl b/public_html/templates/default/LSformElement_valueWithUnit_field.tpl index dfbcc240..1f739af2 100644 --- a/public_html/templates/default/LSformElement_valueWithUnit_field.tpl +++ b/public_html/templates/default/LSformElement_valueWithUnit_field.tpl @@ -13,7 +13,7 @@ {$noValueTxt} {/if} {else} - {if $values_and_units[$value].valueWithUnit} + {if $values_and_units[$value].valueWithUnit || !$values_and_units[$value]}