Home » Authentication » LiveUser » Bug #464
LiveUser_Auth_Container_DB::userExists
Details
| Submitted | 2003-12-19 19:41 UTC |
|---|---|
| From | jmikola at burgiss dot com |
| Assigned | arnaud |
| Status | Closed |
| Package | LiveUser |
| PHP Version | Irrelevant |
| OS | ANY |
| Roadmaps | (Not assigned) |
Comments
[2003-12-19 19:41 UTC] jmikola at burgiss dot com
Description:
------------
the phpdoc comment states the following:
* If no match was found, the return value is false
* If a match was found, the auth_user_id from the database is being returned
however, false is only returned in the event that init_ok is false, or the query returned a DB error. In the event that no match was found, the current code will have null returned as the result of the missed select query. the only concern would be type-equality checking for false incorrectly inferring that a user did not exist.