Iterate the correct list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1190,7 +1190,7 @@ Debug.logInfo("updateSiteRoles, serviceContext(2):" + serviceContext, module);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user