[rt-users] How to specify multiple cc's at ticket creation?

Jesse Vincent jesse at bestpractical.com
Sun Jan 19 21:06:54 EST 2003



On Sun, Jan 19, 2003 at 05:50:07PM -0800, seph wrote:
> This sounds like a bug. Playing with one of my 2.0.x servers (I think
> it's running 2.0.13) I can reproduce this behavior. Investigating a
> bit, I find that rt is choking on the space between the comma and the
> username. That is "userA, userB" fails while "userA,userB"
> 
> In ticket/create.html change the relevant lines to 
> 
>     my @Requestors = split ( /,/, $ARGS{'Requestors'} );
>     my @Cc         = split ( /,/, $ARGS{'Cc'} );
>     my @AdminCc    = split ( /,/, $ARGS{'AdminCc'} );

Seph actually meant:


    my @Requestors = split ( /\s*,\s*/, $ARGS{'Requestors'} );
    my @Cc         = split ( /\s*,\s*/, $ARGS{'Cc'} );
    my @AdminCc    = split ( /\s*,\s*/, $ARGS{'AdminCc'} );


-- 
»|« http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list