MantisBT: master 21d36d7c

Author Committer Branch Timestamp Parent
dregad dregad master 2013-10-21 05:24 master e9dbfe17
Affected Issues  0016519: My Account page: Setting the real name fails
Changeset

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

mod - core/user_api.php Diff File