Closed (fixed)
Project:
Account reminder
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
9 Dec 2011 at 02:20 UTC
Updated:
26 Apr 2012 at 19:31 UTC
Jump to comment: Most recent file
In D7, user_mail_token() takes a first parameter by reference instead of a returning value, as in D6 (ref: http://api.drupal.org/api/drupal/modules--user--user.module/function/use...).
Function account_reminder_mail() needs to update its call to user_mail_tokens() [line 211] to reflect this change.
Currently, the missing argument causes a fatal error (see: http://drupal.org/node/1326934).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | account_reminder-user_mail_tokens-1365638-v02.patch | 625 bytes | mesr01 |
| #1 | account_reminder-user_mail_tokens-1365638.patch | 602 bytes | mesr01 |
Comments
Comment #1
mesr01 commentedHere's a patch that needs testing.
Comment #2
mesr01 commentedPrevious patch is incorrect. Use this one instead.
Comment #3
jaydub commentedThanks for the patch. I've done some more substantial refactoring of the d7 version to bring it up to snuff and this error shouldn't happen anymore with the new changes. Please try out the current d7 code and let me know if it works for you.
Comment #4
jaydub commented