Hi

Use func_get_args() to check whick arg the value us being past. The
for args have changes so you may bit be looking in the right place.

Gordon

Sent from my iPhone

On 25/04/2011, at 2:49 PM, Iain Wiseman <[email protected]> wrote:

> Hi,
>
> In drupal 6 used to have
>    $output = '';
>    $output .=  drupal_get_form('my_form', $arg1);
>
> Not I find I need
>
>    $output .=  drupal_render((drupal_get_form('my_form', $arg1));
>
> However it not longer passed arg1 to the form.
>
> Any ideas
>
> Regards,
> Iain
>
>
>

Reply via email to