[rt-users] "localtime" without parentheses is ambiguous present in version 4.2.12
Sunny
ssn at ebi.ac.uk
Thu Sep 17 10:05:42 EDT 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150917/bdf966e8/attachment.htm>
More information about the rt-users
mailing list