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>
|
||||
<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" } ],
|
||||
|
|
|
|||
Reference in a new issue