Fix attachDebug array initialization in setLineItem
Initialize request.attachDebug if not exists before appending Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3e936728db
commit
ca0b99b1c5
1 changed files with 3 additions and 0 deletions
|
|
@ -431,6 +431,9 @@
|
|||
<cfelse>
|
||||
<!--- Log search params for debugging --->
|
||||
<cfif NOT IsSelected>
|
||||
<cfif NOT structKeyExists(request, "attachDebug")>
|
||||
<cfset request.attachDebug = []>
|
||||
</cfif>
|
||||
<cfset arrayAppend(request.attachDebug, "DESELECT SEARCH: OrderID=#OrderID#, ParentLI=#ParentLineItemID#, ItemID=#ItemID#")>
|
||||
<!--- Also check what items exist for this order with this ItemID --->
|
||||
<cfset qDebug = queryTimed(
|
||||
|
|
|
|||
Reference in a new issue