return "an anonymous user" when we are dealing with the name of an

unregistered user instead of using "".
This commit is contained in:
Jonathan Ernst
2005-02-09 23:52:15 +00:00
committed by WineHQ
parent 07dd65d0bc
commit b5248b3873

View File

@@ -21,6 +21,7 @@ class User {
*/
function User($iUserId="")
{
$this->sRealname = "an anonymous user";
if($iUserId)
{
$sQuery = "SELECT *