Here's my code:
drupal_mail('crmngp', 'crmngp_admin_error', 'icampaignteam@ngpsoftware.com', language_default(), $params, $from);
Coder reports a critical error:
Line 619: Parameters to drupal_mail() have changed (Drupal Docs)
drupal_mail('crmngp', 'crmngp_admin_error', 'icampaignteam@ngpsoftware.com', language_default(), $params, $from);
As far as I can tell, my code is correct. I think maybe coder is being too literal and looking for a variable where I used a string for the to address. I know it's not normal to hard code things like that, but for this use in this module it makes sense. ;-)
Comments
Comment #1
klausiCoder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.