Mailing List Archive

problem in ticket
Hi.

I want to change "sol/mason/Ticket/Create.html".

I want to append one string to $ARGS{Content},

$ARGS{'Content'} = $ARGS{'id'}." Value ".$ARGS{'Content'};

The log file return: 2 Value ARRAY(0x7fdc68701698)

Thanks.
Re: problem in ticket [ In reply to ]
On Thu, Feb 16, 2012 at 12:46:53PM +0100, Sergio Cubero wrote:
> I want to change "sol/mason/Ticket/Create.html".
>
> I want to append one string to $ARGS{Content},
>
> $ARGS{'Content'} = $ARGS{'id'}." Value ".$ARGS{'Content'};
>
> The log file return: 2 Value ARRAY(0x7fdc68701698)

That implies that you have two Content fields on your Create.html,
implying other customizations. You might have better luck talking
about what you're trying to accomplish.

-kevin
Re: problem in ticket [ In reply to ]
El 16/02/2012 17:24, Kevin Falcone escribió:
> On Thu, Feb 16, 2012 at 12:46:53PM +0100, Sergio Cubero wrote:
>> I want to change "sol/mason/Ticket/Create.html".
>>
>> I want to append one string to $ARGS{Content},
>>
>> $ARGS{'Content'} = $ARGS{'id'}." Value ".$ARGS{'Content'};
>>
>> The log file return: 2 Value ARRAY(0x7fdc68701698)
> That implies that you have two Content fields on your Create.html,
> implying other customizations. You might have better luck talking
> about what you're trying to accomplish.
>
> -kevin
>
>
>
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston --- March 5 & 6, 2012
>
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
Thanks Kevin.

He had two form elements and the same name.

<select name="Content"> and <& /Elements/MessageBox, Default =>
$ARGS{Content}, IncludeSignature => 0 &>

I have left only one. Now, I have append values in the Content argument.

I'm still working .....

Best Regards