Closed (fixed)
Project:
Drupal core
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2005 at 16:08 UTC
Updated:
7 Oct 2005 at 13:42 UTC
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))
| Comment | File | Size | Author |
|---|---|---|---|
| user_25.patch | 1.18 KB | kuba.zygmunt |
Comments
Comment #1
Bèr Kessels commentedminor isseu. but worth committing.
Though Kuba, why do you change the LOWER() into strtolower in this patch?
Comment #2
Steven commentedLooking at the version numbers at the top, I'm pretty sure this was an accident.
Commited to HEAD / 4.6.
Comment #3
Steven commentedComment #4
(not verified) commentedComment #5
(not verified) commentedComment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
(not verified) commented