Author: jleroux
Date: Wed May 20 10:49:52 2009
New Revision: 776656
URL:
http://svn.apache.org/viewvc?rev=776656&view=revLog:
Fix an issue reported in user ML (error while backporting r776227)
Modified:
ofbiz/branches/release09.04/applications/content/src/org/ofbiz/content/webapp/ftl/RenderSubContentTransform.java
Modified: ofbiz/branches/release09.04/applications/content/src/org/ofbiz/content/webapp/ftl/RenderSubContentTransform.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/content/src/org/ofbiz/content/webapp/ftl/RenderSubContentTransform.java?rev=776656&r1=776655&r2=776656&view=diff==============================================================================
--- ofbiz/branches/release09.04/applications/content/src/org/ofbiz/content/webapp/ftl/RenderSubContentTransform.java (original)
+++ ofbiz/branches/release09.04/applications/content/src/org/ofbiz/content/webapp/ftl/RenderSubContentTransform.java Wed May 20 10:49:52 2009
@@ -138,9 +138,8 @@
try {
if (subContentId != null) {
ContentWorker.renderContentAsText(dispatcher, delegator, subContentId, out, templateRoot, locale, mimeTypeId, false);
-
} else {
- ContentWorker.renderSubContentAsText(delegator, contentId, out, mapKey, subContentId, subContentDataResourceView, templateRoot, locale, mimeTypeId, userLogin, fromDate);
+ ContentWorker.renderSubContentAsText(dispatcher, delegator, contentId, out, mapKey, templateRoot, locale, mimeTypeId, false);
}
//Map results = ContentWorker.renderSubContentAsText(delegator, contentId, out, mapKey, subContentId, subContentDataResourceView, templateRoot, locale, mimeTypeId, userLogin, fromDate);
} catch (GeneralException e) {