Skip to content

Commit

Permalink
CONTENTBOX-1438 #resolve
Browse files Browse the repository at this point in the history
Adding a category when creating a new blog post causes an error
  • Loading branch information
lmajano committed Aug 5, 2022
1 parent 4fc7c0d commit b646610
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ component extends="baseHandler" {
// Create new categories?
var categories = [];
if ( len( trim( rc.newCategories ) ) ) {
categories = variables.categoryService.createCategories( trim( rc.newCategories ) );
categories = variables.categoryService.createCategories( trim( rc.newCategories ), prc.oCurrentSite );
}
// Inflate sent categories from collection
categories.addAll( variables.categoryService.inflateCategories( rc ) );
Expand Down

0 comments on commit b646610

Please sign in to comment.