Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Made a minor change when looking at elements in the form array
to prevent PHP notice messages from appearing. Specifically, a "notice" was showing up on the user_register form when you had logintoboggan installed.