Home » Authentication » LiveUser » Bug #453
LiveUser_Perm_Container_DB_Complex::userExists
Details
| Submitted | 2003-12-18 16:14 UTC |
|---|---|
| From | jmikola at burgiss dot com |
| Assigned | arnaud |
| Status | Closed |
| Package | LiveUser |
| PHP Version | Irrelevant |
| OS | ANY |
| Roadmaps | (Not assigned) |
Comments
[2003-12-18 16:14 UTC] jmikola at burgiss dot com
Description:
------------
phpdoc comment states that function returns "boolean; true if the id was found, else false"
inside function definition, an sql query result is directly returned, which would return integer 1 if the user exists, or null if the user does not exists. in the event that the perm container was not initialized, boolean false is returned.
this function would operate correctly on the assumption of php type conversion, but it is less forgiving if using type-equality checks on the result.