Fix tt_TaskTypes column name in callServer.cfm
Column is ID, not tt_TaskTypeID (per new naming convention). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8696e3002f
commit
f2a186c727
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ try {
|
||||||
taskTypeCategoryID = 0;
|
taskTypeCategoryID = 0;
|
||||||
if (taskTypeID > 0) {
|
if (taskTypeID > 0) {
|
||||||
typeQuery = queryExecute("
|
typeQuery = queryExecute("
|
||||||
SELECT Name, TaskCategoryID FROM tt_TaskTypes WHERE tt_TaskTypeID = :typeID
|
SELECT Name, TaskCategoryID FROM tt_TaskTypes WHERE ID = :typeID
|
||||||
", { typeID: { value: taskTypeID, cfsqltype: "cf_sql_integer" } }, { datasource: "payfrit" });
|
", { typeID: { value: taskTypeID, cfsqltype: "cf_sql_integer" } }, { datasource: "payfrit" });
|
||||||
if (typeQuery.recordCount) {
|
if (typeQuery.recordCount) {
|
||||||
if (len(trim(typeQuery.Name))) {
|
if (len(trim(typeQuery.Name))) {
|
||||||
|
|
|
||||||
Reference in a new issue