[ticket/138] Fix issues caused by switching to twig

B3P-138
This commit is contained in:
Marc Alexander
2013-08-23 15:30:23 -05:00
parent 16b148b713
commit 30da5c6261
6 changed files with 13 additions and 13 deletions

View File

@@ -169,11 +169,11 @@ class portal_leaders_module
{
if ($row['group_name'] == 'ADMINISTRATORS')
{
$which_row = 'admin';
$which_row = 'b3p_admins';
}
elseif ($row['group_name'] == 'GLOBAL_MODERATORS')
{
$which_row = 'mod';
$which_row = 'b3p_moderators';
}
if ($row['group_type'] == GROUP_HIDDEN && !$auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel') && $row['ug_user_id'] != $user->data['user_id'])