Hi all,

We upgraded RT from 4.2.8 to 4.2.12

The following warning appeared

Warning: Use of "localtime" without parentheses is ambiguous at 
/opt/rt4/sbin/../lib/RT/Interface/Email.pm line 526.


This link below provided a solution for a user running version 4.2.11
http://requesttracker.8502.n7.nabble.com/RT-4-2-Use-of-quot-localtime-quot-without-parentheses-is-ambiguous-td60291.html#a60452

vi RT/Interface/Email.pm +526
print $fh "From $ENV{USER}\@localhost  ".localtime."\n";

added parentheses after localtime
print $fh "From $ENV{USER}\@localhost  ".localtime*()*."\n";

This seems to have stopped the warning messages.

Is this a bug that is in 4.2.11 and still in version 4.2.12?

Regards

Reply via email to