summaryrefslogtreecommitdiff
path: root/rt/lib/RT/Interface/Email.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-24 10:28:06 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-24 10:31:23 -0700
commit9ce482da3960ee43decee41fba53b78c12c3e52c (patch)
treef7e77a4a2154a3f259fc41f5c2282a752e4ba200 /rt/lib/RT/Interface/Email.pm
parent6894828ab5a66e53ad6945cc14e6cd9f9c3b67f7 (diff)
rt 4.2.13 ticket#13852
Diffstat (limited to 'rt/lib/RT/Interface/Email.pm')
-rwxr-xr-xrt/lib/RT/Interface/Email.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/lib/RT/Interface/Email.pm b/rt/lib/RT/Interface/Email.pm
index 87e24e700..9bff8f6d1 100755
--- a/rt/lib/RT/Interface/Email.pm
+++ b/rt/lib/RT/Interface/Email.pm
@@ -2,7 +2,7 @@
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@ -523,7 +523,7 @@ sub SendEmail {
}
my $content = $args{Entity}->stringify;
$content =~ s/^(>*From )/>$1/mg;
- print $fh "From $ENV{USER}\@localhost ".localtime."\n";
+ print $fh "From $ENV{USER}\@localhost ".localtime()."\n";
print $fh $content, "\n";
close $fh;
} else {