1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Bugtracker #4945 possible fix - 'extra' main admins editing other users

This commit is contained in:
e107steved 2010-05-03 21:31:29 +00:00
parent 067b0a07c2
commit 83dd8db01f

View File

@ -1422,6 +1422,7 @@ function get_user_data($uid, $extra = '')
}
}
if ($var['user_perms'] == '0.') $var['user_perms'] = '0'; // Handle some legacy situations
//===========================================================
$var['user_baseclasslist'] = $var['user_class']; // Keep track of which base classes are in DB
// Now look up the 'inherited' user classes