Variable "varName" undefined when trying to call a function
Hello, all,
I was just shown that an application written by someone else over ten years ago is working fine under CF9 and CF10; but it's breaking in CF11.
I have something like:
<cfinclude template="../myComponent.cfc" />
Now, in myComponent.cfc, I have a function:
<cffunction name="getThisAttribute" returntype="string" output="no">
<cfargument name="part1" /><cfargument name="part2" />
...
<cfreturn thisValue />
</cffunction>
Under CF11, in the first page (again, this works in CF9 and CF10), if I do the following:
<cfset thisVar = getThisAttribute(part1,'part2') />
I get "getThisAttribute undefined". Am I going to have to completely re-write how all this works if we switch to CF11???
V/r,
^_^
