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.
2 parents f992792 + 6133667 commit 31bc506Copy full SHA for 31bc506
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