[rt-users] RE: custom field condition

Todd Chapman todd at chaka.net
Mon Jun 12 23:00:52 EDT 2006


Bill,

You should also use "return;" instead of "return (undef);"
because the later will evaluate to true if the scrip
condition were to be called in a list context. See
Perl Best Practices for more info.

-Todd

On Mon, Jun 12, 2006 at 03:57:45PM -0700, Bill Chever wrote:
> Found it! I was using On Create and should have been using User Defined so the system would actually use the scrip. Doh!  Thanks anyway! Bill
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
> 
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html



More information about the rt-users mailing list