We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071e41a commit 6e42235Copy full SHA for 6e42235
src/org/wordpress/android/models/CategoryNode.java
@@ -79,7 +79,7 @@ public static CategoryNode createCategoryTreeFromDB(int blogId) {
79
if (category.getParentId() == 0) { // root node
80
currentRootNode = rootCategory;
81
} else {
82
- currentRootNode = categoryMap.get(category.getParentId());
+ currentRootNode = categoryMap.get(category.getParentId(), rootCategory);
83
}
84
currentRootNode.children.put(category.getName(), categoryMap.get(category.getCategoryId()));
85
0 commit comments