Don't know if this has been fixed or not (or if this is the result of my
tinkering) but if the user logged in has admin permisionss the
edit_user screen doesn't work right the first time it loads. After
going to edit_users and choosing a user it works fine. According
to the comments, if the user is an admin, and no id has already
been chosen, it's supposed to default back to that user. It didn't, it
just gave me a blank form. So I changed the if statement at the
beginning of edit_user to look like this instead, and it seems to
work:
if ( !$UserInfo["Permission"]["Administrate"] )
{
//copy user's own info
$EditUser = $UserInfo;
}
else
{
//get info on the user
// CW if ID is not valid then default to himself
$EditUser = GetUserInfo($ID);
if ($EditUser["ID"]==0) {
$EditUser = $UserInfo;
}
}
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]