From b64661010513a416a72d4fdd7a7f247c01057b99 Mon Sep 17 00:00:00 2001 From: Luis Majano Date: Fri, 5 Aug 2022 16:02:28 -0500 Subject: [PATCH] CONTENTBOX-1438 #resolve Adding a category when creating a new blog post causes an error --- .../modules/contentbox-admin/handlers/baseContentHandler.cfc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/contentbox/modules/contentbox-admin/handlers/baseContentHandler.cfc b/modules/contentbox/modules/contentbox-admin/handlers/baseContentHandler.cfc index 35d85808e2..26b1f272ee 100644 --- a/modules/contentbox/modules/contentbox-admin/handlers/baseContentHandler.cfc +++ b/modules/contentbox/modules/contentbox-admin/handlers/baseContentHandler.cfc @@ -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 ) );