This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 3970fc26a3 Fixed: Errors in EditProductFeatures.ftl (OFBIZ-13016)
3970fc26a3 is described below
commit 3970fc26a34f0e757a5fb59d9ba0e6276fdd6382
Author: Jacques Le Roux <[email protected]>
AuthorDate: Sat Apr 13 09:13:14 2024 +0200
Fixed: Errors in EditProductFeatures.ftl (OFBIZ-13016)
This should fixes the errors.
---
applications/product/template/product/EditProductFeatures.ftl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/applications/product/template/product/EditProductFeatures.ftl
b/applications/product/template/product/EditProductFeatures.ftl
index 611998f1b6..c72c7ac39c 100644
--- a/applications/product/template/product/EditProductFeatures.ftl
+++ b/applications/product/template/product/EditProductFeatures.ftl
@@ -133,8 +133,8 @@ under the License.
<select name='productFeatureApplTypeId' size="1">
<#list productFeatureApplTypes as productFeatureApplType>
<option value='${(productFeatureApplType.productFeatureApplTypeId)!}'
- <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? &&
product.isVirtual == 'Y' && productFeatureApplType.productFeatureApplTypeId
=="SELECTABLE_FEATURE")>selected="selected"</#if>
- <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? &&
product.isVirtual == 'N' && productFeatureApplType.productFeatureApplTypeId!
=="STANDARD_FEATURE")>selected="selected"</#if>
+ <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? &&
product.isVirtual?? && product.isVirtual == 'Y' &&
productFeatureApplType.productFeatureApplTypeId
=="SELECTABLE_FEATURE")>selected="selected"</#if>
+ <#if (productFeatureApplType.productFeatureApplTypeId?? && product?? &&
product.isVirtual?? && product.isVirtual == 'N' &&
productFeatureApplType.productFeatureApplTypeId!
=="STANDARD_FEATURE")>selected="selected"</#if>
>${(productFeatureApplType.get("description",locale))!} </option>
</#list>
</select>