mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Fixes #4355 - User ranks issue.
This commit is contained in:
@@ -209,7 +209,7 @@ class e_ranks
|
||||
$userData = e107::getSystemUser($userId)->getData(); //get_usXer_data($userId);
|
||||
}
|
||||
|
||||
if(isset($userData['user_admin']))
|
||||
if(!empty($userData['user_admin']))
|
||||
{
|
||||
if($userData['user_perms'] == '0')
|
||||
{
|
||||
|
Reference in New Issue
Block a user