At 00:40 13/04/00 +0200, you wrote:
>
> Hi!
>
> Jus reporting a minor bug, if even that..
>
> When loged in as admin, if click edit profile, you will not get present
> adress data desplayed.
> If you go to list for all users, and back to admin account, everything is
> there.
>
> For normal useraccount evrything is ok.
You are right, I just looked, but then admin should not have to edit his own
profile, the code in screens/edit_user is set up that way, as is the code in
the function GetUserInfo. The best thing to do if you don't want edit profile
to appear in the menu is to knock it out when admin is logged in.
if ( !$UserInfo["Permission"]["Administrate"] )
{
/* show edit profile menu item */
}
>
>
>
> Bjarne Hansen
>
bye :-)=
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]