[rt-devel] Custom Condition using a CustomField

darren chamberlain dlc at sevenroot.org
Tue Feb 10 09:41:34 EST 2004


* Andy Harrison <ah30 at harrisonfamily.com> [2004/02/10 09:33]:
> This [code] gives me errors like:
> 
> [Tue Feb 10 14:04:58 2004] [error]: Scrip 93 Commit failed: syntax
> error at (eval 2184) line 2, near "->AddWatcher{ "
> (/usr/local/rt3/lib/RT/Action/UserDefined.pm:59)
> 
> Could anyone shed some light on this?

Perl syntax error.  Try:

  $self->TicketObj->AddWatcher( TYPE => 'Cc', Email => 'test at example.com' );

I.e., ( ) instead of { }.

(darren)

-- 
How is it possible to find meaning in a finite world, given my waist
and shirt size?
    -- Woody Allen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://pallas.eruditorum.org/pipermail/rt-devel/attachments/20040210/26cff7dd/attachment.pgp


More information about the Rt-devel mailing list