Fix submit.cfm: remove ServicePoints join that was causing column name errors
This commit is contained in:
parent
add65346c9
commit
d2985e193a
1 changed files with 4 additions and 6 deletions
|
|
@ -141,12 +141,10 @@
|
||||||
<cftry>
|
<cftry>
|
||||||
<cfset qOrder = queryTimed(
|
<cfset qOrder = queryTimed(
|
||||||
"
|
"
|
||||||
SELECT o.ID, o.StatusID, o.OrderTypeID, o.BusinessID, o.ServicePointID,
|
SELECT ID, StatusID, OrderTypeID, BusinessID, ServicePointID,
|
||||||
o.GrantID, o.GrantOwnerBusinessID,
|
GrantID, GrantOwnerBusinessID
|
||||||
sp.Name AS Name
|
FROM Orders
|
||||||
FROM Orders o
|
WHERE ID = ?
|
||||||
LEFT JOIN ServicePoints sp ON sp.ID = o.ServicePointID
|
|
||||||
WHERE o.ID = ?
|
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
",
|
",
|
||||||
[ { value = OrderID, cfsqltype = "cf_sql_integer" } ],
|
[ { value = OrderID, cfsqltype = "cf_sql_integer" } ],
|
||||||
|
|
|
||||||
Reference in a new issue