When useing "upload video" Viddler modul use drupal_alter to alter form with form id 'viddler_upload_js'. The warning occurs because the parameters to "form_*_alter aren't passed by reference as they should be (http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hoo...).

Warning:

warning: Parameter 2 to *_form_alter() expected to be a reference, value given in /includes/common.inc on line 2892.

I attach a patch for this. I hope it helps.

Comments

damjan.cvetan’s picture

StatusFileSize
new629 bytes

I found a problem with path above. The form_id passed as an arguments need to be a string, not an array.

jeremyheslop’s picture

Assigned: Unassigned » jeremyheslop

Thanks. Looking into this and testing. Should show up in next release.

jeremyheslop’s picture

Thanks. Looking into this and testing. Should show up in next release.