Skip to content

Commit

Permalink
Ensure the correct number of child components are tracked.
Browse files Browse the repository at this point in the history
  • Loading branch information
grantcopley committed Sep 17, 2024
1 parent 3c0db8d commit c81a380
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions models/Component.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1065,14 +1065,14 @@ component output="true" {
*/
function _renderViewContent( normalizedPath, params = {} ){
if ( !variables._renderedContent.len() ) {
// Render our view using an renderer encapsulator
savecontent variable="local.viewContent" {
cfmodule(
template = "RendererEncapsulator.cfm",
cbwireComponent = this,
normalizedPath = arguments.normalizedPath,
params = arguments.params
);
// Render our view using an renderer encapsulator
savecontent variable="local.viewContent" {
cfmodule(
template = "RendererEncapsulator.cfm",
cbwireComponent = this,
normalizedPath = arguments.normalizedPath,
params = arguments.params
);
}
variables._renderedContent = local.viewContent;
}
Expand Down

0 comments on commit c81a380

Please sign in to comment.