<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi all, <br>
    <br>
    We upgraded RT from 4.2.8 to 4.2.12<br>
    <br>
    The following warning appeared<br>
    <pre>Warning: Use of "localtime" without parentheses is ambiguous at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 526.</pre>
    <br>
    This link below provided a solution for a user running version
    4.2.11<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <a
href="http://requesttracker.8502.n7.nabble.com/RT-4-2-Use-of-quot-localtime-quot-without-parentheses-is-ambiguous-td60291.html#a60452"><a class="moz-txt-link-freetext" href="http://requesttracker.8502.n7.nabble.com/RT-4-2-Use-of-quot-localtime-quot-without-parentheses-is-ambiguous-td60291.html#a60452">http://requesttracker.8502.n7.nabble.com/RT-4-2-Use-of-quot-localtime-quot-without-parentheses-is-ambiguous-td60291.html#a60452</a></a><br>
    <br>
    vi RT/Interface/Email.pm +526<br>
    print $fh "From $ENV{USER}\@localhostĀ  ".localtime."\n";<br>
    <br>
    added parentheses after localtime <br>
    print $fh "From $ENV{USER}\@localhostĀ  ".localtime<b>()</b>."\n";<br>
    <br>
    This seems to have stopped the warning messages.<br>
    <br>
    Is this a bug that is in 4.2.11 and still in version 4.2.12?<br>
    <br>
    Regards<br>
  </body>
</html>