[ticket/382] More code clean up

B3P-382
This commit is contained in:
Marc Alexander
2014-10-31 07:40:44 +01:00
parent 7e6ba60948
commit b402df024d
3 changed files with 17 additions and 22 deletions

View File

@@ -213,6 +213,10 @@ class leaders extends module_base
{
$which_row = 'b3p_moderators';
}
else
{
continue;
}
if ($row['group_type'] == GROUP_HIDDEN && !$this->auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel') && $row['ug_user_id'] != $this->user->data['user_id'])
{