Incorrect arguments in form validate function?

Created on 14 December 2014, almost 11 years ago
Updated 23 July 2025, 2 months ago

Hi, thanks for a great module!

Form field validation callback function email_registration_user_login_validate():

  1. Defines $form, &$form_state as parameters instead of $element, &$form_state, $form, see https://api.drupal.org/api/drupal/developer%21topics%21forms_api_referen....
  2. Sets $form_state['values']['email'] instead of the commonly used $form_state['values']['mail']

No big deals, but still worth mentioning.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands lmeurs

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024