hi there, when im trying to add the receipent email..i got this error message

warning: Parameter 2 to webform_email_edit_form() expected to be a reference, value given in /home/xxx/public_html/includes/form.inc on line 372.

please help me...

CommentFileSizeAuthor
#1 webform_email_form_reference.patch627 bytesquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Status: Active » Fixed
FileSize
627 bytes

This is a simple pass-by-reference problem. It does not cause any negative side effect (other than the message) and only affects PHP 5.3. I've fixed it just by removing the pass-by-reference, since it's unnecessary in this situation any way.

quicksketch’s picture

Title: can not adding receipent email » Pass-by-reference error in webform_email_edit_form()
kakajoe’s picture

Status: Fixed » Active

thanks..it works..but unfortanelly I have another error message when im trying the webform. here's the message

warning: substr() expects parameter 3 to be long, string given in /home/xxx/public_html/sites/all/modules/webform/webform.module on line 2054.

thanks once again..

quicksketch’s picture

Status: Active » Fixed

Please file a different issue and also document how this error occurs (what page you're on and what you did to trigger it).

kakajoe’s picture

owh ok..i'll make a new issue ... thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.