Call-time pass by reference
| Project: | SaleMail |
| Version: | 5.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi,
I'm getting the following two error messages after enabling salemail.
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ec_mail_send_mid(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in C:\Program Files\EasyPHP 2.0b1\www\drupal\sites\all\modules\Salemail\salemail.module on line 18
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ec_mail_save(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in C:\Program Files\EasyPHP 2.0b1\www\drupal\sites\all\modules\Salemail\salemail.module on line 128
Wim van der Vegt

#1
Hi,
It seems to be fixed by removing the & characters in line 18 and 128 of salemail.module.
Wim van der Vegt
#2
Thanks Wim.
I'll make the change and produce a new version. Sorry it's taken so long to get back to you.