rt 4.2.13 ticket#13852
[freeside.git] / rt / lib / RT / Interface / Email.pm
index 87e24e7..9bff8f6 100755 (executable)
@@ -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 {