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.
http://api.drupal.org/api/drupal/core!modules!user!user.pages.inc/functi...
$user is a global variable, while it's not using it as such, bad example.
Comment | File | Size | Author |
---|---|---|---|
#5 | user_autocomplete_callback_1454630_5.patch | 639 bytes | mottihoresh |
#2 | user_autocomplete_callback_1454630_2.patch | 579 bytes | mottihoresh |
Comments
Comment #1
hefox CreditAttribution: hefox commenteddrupal_anonymous_user does also, not sure whether to open a separate issue for that.
Comment #2
mottihoresh CreditAttribution: mottihoresh commentedComment #4
hefox CreditAttribution: hefox commentedThe for each needs change also
Comment #5
mottihoresh CreditAttribution: mottihoresh commentedI knew i missed something :) Hopefully it will pass this time.
Comment #6
aloyr CreditAttribution: aloyr commentedapplied change on a fresh drupal 8 git install and the user autocomplete still works for me.
Comment #7
chx CreditAttribution: chx commentedVery nice catch!
Comment #8
Dries CreditAttribution: Dries commentedCommitted to 8.x. Thanks!