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 2009/05/20 12:49:52 UTC

svn commit: r776656 - /ofbiz/branches/release09.04/applications/content/src/org/ofbiz/content/webapp/ftl/RenderSubContentTransform.java

Author: jleroux
Date: Wed May 20 10:49:52 2009
New Revision: 776656

URL: http://svn.apache.org/viewvc?rev=776656&view=rev
Log:
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) {