View Issue Details

IDProjectCategoryView StatusLast Update
0016519mantisbtpreferencespublic2014-12-08 02:07
Reporteratrol Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0016519: My Account page: Setting the real name fails
Description

Is is not possible to enter a real name on "My Account" page.

After clicking "Update User" you will see:

APPLICATION ERROR #807
The "Real Name" chosen matches another user's login name. Please choose another.

TagsNo tags attached.

Activities

govind

govind

2013-12-01 22:04

reporter   ~0038699

sdfgdf

govind

govind

2013-12-01 22:05

reporter   ~0038731

xdfjghjgh

Related Changesets

MantisBT: master 21d36d7c

2013-10-21 05:24

dregad


Details Diff
Fix My Account page can't change the real name

Regression caused by a80f447687722b52160d00c96c21a5be5f4329e1 which introduced
strict comparison on return value of user_get_id_by_name. The function
returns false when user id is not found, but the code was still
comparing against 0.

Fixes 0016519
Affected Issues
0016519
mod - core/user_api.php Diff File