Recipients are not counted in forward module because of a mistype.
Version of forward.module:
/* $Id: forward.module,v 1.11.2.5 2006/03/27 21:59:18 seanr Exp $ */
Line with error
575: variable_set('forward_recipients', variable_get('forward_recipients', 0) + count($recipient_addresses));
There is no $recipient_addresses variable but $recipients.
Below code will count "," comma characters in recipients list and add 1.
variable_set('forward_recipients', variable_get('forward_recipients', 0) + substr_count($recipients, ",") + 1);
Same problem exists also in /* $Id: forward.module,v 1.11 2006/03/10 00:24:03 seanr Exp $ */. This version seems to be in CVS but it is older than forward module 4.7. This time problem is in line 568.
Comments
Comment #1
seanrFixed, thanks. Also, HEAD should now match 4.7 branch. Thanks for bringing that to my attention.
Comment #2
(not verified) commented