[rt-users] RT 4.2 - Use of "localtime" without parentheses is ambiguous

Dominic Lepiane Dominic.Lepiane at ptgrey.com
Wed Aug 12 11:35:45 EDT 2015

I was getting the same warning as the following rt-devel post which I found online - though I'm not subscribed to so I'm posting my fix here instead.

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

Correction is to edit Email.pm and where it has "localtime", use "localtime()" instead. Cursory search online for perl localtime shows examples with correct syntax.

Note: Am working in RT 4.2.11


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150812/470c6cf9/attachment.html>

More information about the rt-users mailing list