We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f992792 commit 6133667Copy full SHA for 6133667
bonus/LogToEmail.cfc
@@ -14,14 +14,16 @@
14
<cffunction name="saveLog">
15
<cfargument name="exception" />
16
17
+ <cfset var local = StructNew() />
18
+
19
<cfset variables.config = removeEmailPrefix(variables.config)>
20
21
<!--- to conform to the cfmail attribute name and be backward compatible with emailSubj --->
22
<cfset variables.config.subject = variables.config.subj>
23
- <cfset var attributeCollection = variables.config>
24
+ <cfset local.attributeCollection = variables.config>
25
- <cfmail attributeCollection="#attributeCollection#">
26
+ <cfmail attributeCollection="#local.attributeCollection#">
27
<cfif variables.config.type eq "text">
28
Exception Report
29
0 commit comments