Closed (won't fix)
Project:
Coder
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2009 at 21:27 UTC
Updated:
30 Dec 2014 at 18:34 UTC
Jump to comment: Most recent
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.