Skip to content

Commit 70e5873

Browse files
committed
fix missing argument for incorporation refactor
1 parent 881ce09 commit 70e5873

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

system/web/Renderer.cfc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ component
202202

203203
// Rendering Region call?
204204
if ( !isNull( arguments.name ) and len( arguments.name ) ) {
205-
arguments = incorporateRenderingRegion( arguments.name, arguments );
205+
arguments = incorporateRenderingRegion( arguments.name, event, arguments );
206206
}
207207

208208
// Rendering an explicit view or do we need to get the view from the context or explicit context?
@@ -977,14 +977,15 @@ component
977977
/**
978978
* Incorporate a rendering region into the arguments struct
979979
*
980-
* @name The name of the rendering region
981-
* @args The arguments struct to incorporate the rendering region into
980+
* @name The name of the rendering region
981+
* @event The request context
982+
* @args The arguments struct to incorporate the rendering region into
982983
*
983984
* @return The arguments processed
984985
*
985986
* @throws InvalidRenderingRegion - If the region name does not exist
986987
*/
987-
private function incorporateRenderingRegion( required name, any args ){
988+
private function incorporateRenderingRegion( required name, required event, any args ){
988989
var regions = event.getRenderingRegions();
989990
// Verify Region
990991
if ( !structKeyExists( regions, arguments.name ) ) {

0 commit comments

Comments
 (0)