Fix submit.cfm: remove ServicePoints join that was causing column name errors

This commit is contained in:
John Pinkyfloyd 2026-02-09 16:32:00 -08:00
parent add65346c9
commit d2985e193a

View file

@ -141,12 +141,10 @@
<cftry>
<cfset qOrder = queryTimed(
"
SELECT o.ID, o.StatusID, o.OrderTypeID, o.BusinessID, o.ServicePointID,
o.GrantID, o.GrantOwnerBusinessID,
sp.Name AS Name
FROM Orders o
LEFT JOIN ServicePoints sp ON sp.ID = o.ServicePointID
WHERE o.ID = ?
SELECT ID, StatusID, OrderTypeID, BusinessID, ServicePointID,
GrantID, GrantOwnerBusinessID
FROM Orders
WHERE ID = ?
LIMIT 1
",
[ { value = OrderID, cfsqltype = "cf_sql_integer" } ],