Fix saveWizard.cfm Lucee 7 syntax error
Convert cfthread from tag-based to cfscript syntax. Lucee 7 no longer allows </cfscript> mid-file to switch to tag mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2b441e166e
commit
9225a53eee
1 changed files with 4 additions and 6 deletions
|
|
@ -218,12 +218,10 @@ try {
|
|||
response.steps.append("Created address record (ID: " & addressId & ")");
|
||||
|
||||
// Auto-geocode address in background
|
||||
</cfscript>
|
||||
<cfthread action="run" name="geocode_#addressId#" addressId="#addressId#">
|
||||
<cfinclude template="/api/inc/geocode.cfm">
|
||||
<cfset geocodeAddressById(attributes.addressId)>
|
||||
</cfthread>
|
||||
<cfscript>
|
||||
thread action="run" name="geocode_#addressId#" addressId=addressId {
|
||||
include template="/api/inc/geocode.cfm";
|
||||
geocodeAddressById(attributes.addressId);
|
||||
}
|
||||
|
||||
// Get community meal type (1=provide meals, 2=food bank donation)
|
||||
communityMealType = structKeyExists(wizardData, "communityMealType") && isSimpleValue(wizardData.communityMealType) ? val(wizardData.communityMealType) : 1;
|
||||
|
|
|
|||
Reference in a new issue