When the email address and/or username needs to be updated in Drupal, the following error is thrown.
Notice: Undefined variable: message_tokens in _ldap_authentication_user_login_authenticate_validate() (line 557 of /var/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.inc).
Recoverable fatal error: Argument 2 passed to t() must be an array, null given, called in /var/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.inc on line 557 and defined in t() (line 1478 of /var/www/drupal-7.15/includes/bootstrap.inc).
The attached patch fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| 0105-fix-unidentified-variable-error.patch | 1.28 KB | blc |
Comments
Comment #1
johnbarclay commentedThanks. This is fixed and in 7.x-2.x-dev. The $message_tokens should have been $watchdog_tokens.
Comment #2
johnbarclay commentedthis is fixed in 7.x-1.x-dev also.