Fix debug array initialization
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
120930db4c
commit
6af7e22b03
1 changed files with 4 additions and 1 deletions
|
|
@ -453,7 +453,10 @@
|
|||
</cfif>
|
||||
|
||||
<!--- Initialize debug array at start of processing --->
|
||||
<cfset request.attachDebug = ["Flow start: qExisting.recordCount=#qExisting.recordCount#, IsSelected=#IsSelected#"]>
|
||||
<cfif NOT structKeyExists(request, "attachDebug")>
|
||||
<cfset request.attachDebug = []>
|
||||
</cfif>
|
||||
<cfset arrayAppend(request.attachDebug, "Flow: qExisting=#qExisting.recordCount#, IsSelected=#IsSelected#, ItemID=#ItemID#, ParentLI=#ParentLineItemID#")>
|
||||
|
||||
<cfif qExisting.recordCount GT 0>
|
||||
<!--- Update existing --->
|
||||
|
|
|
|||
Reference in a new issue