You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/09/26 14:03:26 UTC
svn commit: r1705427 -
/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/catalog/ProductCategories.groovy
Author: jleroux
Date: Sat Sep 26 12:03:26 2015
New Revision: 1705427
URL: http://svn.apache.org/viewvc?rev=1705427&view=rev
Log:
Still missed those ones in groovy after r1705329
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/catalog/ProductCategories.groovy
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/catalog/ProductCategories.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/catalog/ProductCategories.groovy?rev=1705427&r1=1705426&r2=1705427&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/catalog/ProductCategories.groovy (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/catalog/ProductCategories.groovy Sat Sep 26 12:03:26 2015
@@ -58,12 +58,12 @@ List fillTree(rootCat ,CatLvl, parentCat
context.title = categoryContentWrapper.get("CATEGORY_NAME", "html");
categoryDescription = categoryContentWrapper.get("DESCRIPTION", "html");
- if(categoryContentWrapper.CATEGORY_NAME)
+ if(categoryContentWrapper.get("CATEGORY_NAME", "html"))
rootMap["categoryName"] = categoryContentWrapper.get("CATEGORY_NAME", "html");
else
rootMap["categoryName"] = root.categoryName;
- if(categoryContentWrapper.DESCRIPTION)
+ if(categoryContentWrapper.get("DESCRIPTION", "html"))
rootMap["categoryDescription"] = categoryContentWrapper.get("DESCRIPTION", "html");
else
rootMap["categoryDescription"] = root.description;