Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Getting this error:
Notice: Undefined index: account в функции ulogin_form_user_profile_form_alter() (строка 182 в файле ~sites/all/modules/ulogin/ulogin.module).
Fixed by changing line 182 from this
if ($form['account']['name']['#access'] && variable_get('ulogin_disable_username_change', 1)) {
to this
if (isset($form['account']['name']['#access']) && variable_get('ulogin_disable_username_change', 1)) {
Comments
Comment #1
duozersklanzs,
Thanks for a bug report, fixed in http://drupalcode.org/project/ulogin.git/commit/ce2b26f
Thanks again.
AndyB