In user.module line 797:
if ($user !== FALSE) {
Is that supposed to be
if ($account !== FALSE) {
?

Is $user ever FALSE?

CommentFileSizeAuthor
#2 fix-user-module-typo.patch505 bytesMoxide

Comments

Moxide’s picture

It is fixed in Drupal 5.x-dev.

Moxide’s picture

Title: $user or $account » $user or $account : typo in user module
Version: 5.1 » 5.x-dev
Status: Active » Needs review
StatusFileSize
new505 bytes

Sorry, I was wrong ! The attached patch fixes this typo.

Moxide’s picture

Title: $user or $account : typo in user module » $user or $account
Status: Needs review » Active

In the end, I don't know if it's a typo or not. Seems weird though.

dpearcefl’s picture

Status: Active » Closed (won't fix)

Considering the age of this issue with no responses and that D5 is unsupported, I am closing this issue.