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.
2 parents ac5fa7d + 6e42235 commit 1e901ebCopy full SHA for 1e901eb
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