Quote:
Originally Posted by ubblite
Yeah, we were just discussing this -
It could very well be a problem in 3.5.3/4 but doesn't affect earlier versions perhaps.
|
No, it definitely is a bug... for one take a look at the old code...
Code:
// check to see if this user is protected
$protectedusergroups = explode(",", $vbulletin->options['estore_protectedusergroups']);
if (!is_member_of($vbulletin->userinfo, $protectedusergroups))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}
There are 2 bugs in that code...
1) It's not checking the usergroups of the "$touser" variable, but of the $vbulletin->userinfo that is currently logged in.
2) It should not be !is_member_of, but it should be just is_member_of.
Quote:
Originally Posted by Murty
Consider yourself PMed CMX
|
Ok.
-CMX