Posted by Fonant on March 4, 2011 at 9:55am
2 followers
Jump to:
| Project: | Magento |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Qwaygon |
| Status: | patch (to be ported) |
Issue Summary
The validation of usernames added by this module is applied even if no username appears in the user's account form.
This line in magento_users_user():
if (count(explode(' ', $edit['name'])) !=2) {
should read:
if (isset($edit['name']) and count(explode(' ', $edit['name'])) !=2) {
so that the username isn't validated if it isn't present in the form data.
Comments
#1