Fix CFML scoping error - remove var keyword outside function
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
50307efa8d
commit
0451c604e6
1 changed files with 1 additions and 1 deletions
|
|
@ -479,7 +479,7 @@
|
||||||
<!--- Deselecting: for modifiers that are default-checked, keep with Quantity=0 --->
|
<!--- Deselecting: for modifiers that are default-checked, keep with Quantity=0 --->
|
||||||
<!--- For root items or non-defaults, delete normally --->
|
<!--- For root items or non-defaults, delete normally --->
|
||||||
<cfif ParentLineItemID GT 0>
|
<cfif ParentLineItemID GT 0>
|
||||||
<cfset var qItemCheck = queryTimed(
|
<cfset qItemCheck = queryTimed(
|
||||||
"SELECT IsCheckedByDefault FROM Items WHERE ID = ? LIMIT 1",
|
"SELECT IsCheckedByDefault FROM Items WHERE ID = ? LIMIT 1",
|
||||||
[ { value = ItemID, cfsqltype = "cf_sql_integer" } ],
|
[ { value = ItemID, cfsqltype = "cf_sql_integer" } ],
|
||||||
{ datasource = "payfrit" }
|
{ datasource = "payfrit" }
|
||||||
|
|
|
||||||
Reference in a new issue