Error near RT-Attach-Message after ticket->Take

Hello,

I have made a perl script to resolve some tickets automatically and
move to another queue we have here. I created a new user with
permissions to handle ticket in both queues.
When I $ticket->Take; within my perl script, i got a message twice:
172 2007-06-30 22:07:23
[Thu May 15 01:45:46 2008] [error]: error: couldn’t parse head; error
near:
RT-Attach-Message: yes
(/usr/share/request-tracker3.6/lib/RT/Template_Overlay.pm:336)

Anyway, the ticket is taken and is resolved adequately, but i got a
delay after every ticket taking.

I don’t know how to track this error. Anybody has any hints?

Thanks in advance (so I won’t bother the others with thanking messages),

Mauricio B. C. Vieira - mauriciovieira@safernet.org.br
Software Engineer
SaferNet Brasil - http://www.safernet.org.br
0xD65AF73A - http://pgp.mit.edu