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:
John Mizerek 2026-02-06 17:27:24 -08:00
parent 8696e3002f
commit f2a186c727

View file

@ -63,7 +63,7 @@ try {
taskTypeCategoryID = 0;
if (taskTypeID > 0) {
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" });
if (typeQuery.recordCount) {
if (len(trim(typeQuery.Name))) {