When you put 0 (zero) as user name (in registration process, or editing profile) you will got error message 'You must enter a username'
We've got this because in code we have : if (!$name) , instead we should check : if (!strlen($name))

CommentFileSizeAuthor
user_25.patch1.18 KBkuba.zygmunt
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Bèr Kessels’s picture

minor isseu. but worth committing.

Though Kuba, why do you change the LOWER() into strtolower in this patch?

Steven’s picture

Looking at the version numbers at the top, I'm pretty sure this was an accident.

Commited to HEAD / 4.6.

Steven’s picture

Status: Needs review » Fixed
Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)