svn commit: r686668 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r686668 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java

doogie-3
Author: doogie
Date: Sun Aug 17 19:37:10 2008
New Revision: 686668

URL: http://svn.apache.org/viewvc?rev=686668&view=rev
Log:
Iterate the correct list.

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java?rev=686668&r1=686667&r2=686668&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java Sun Aug 17 19:37:10 2008
@@ -1190,7 +1190,7 @@
                        kidContent.put("contentTypeId", "PAGE_NODE");
                        kidContent.store();
                        List kids2 = ContentWorker.getAssociatedContent(kidContent, "from", UtilMisc.toList("SUB_CONTENT"), null, null, null);
-                    Iterator iter2 = kids.iterator();
+                    Iterator iter2 = kids2.iterator();
                     while (iter2.hasNext()) {
                         GenericValue kidContent2 = (GenericValue)iter2.next();
                            updatePageNodeChildren(kidContent2, context);