phpBB

Code Changes

File: includes/acp/acp_permission_roles.php

  Unmodified   Added   Modified   Removed
Line 348Line 348
				{
$hold_ary = $this->auth_admin->get_role_mask($role_id);


				{
$hold_ary = $this->auth_admin->get_role_mask($role_id);


					if (sizeof($hold_ary))

					if (count($hold_ary))

					{
$role_name = (!empty($user->lang[$role_row['role_name']])) ? $user->lang[$role_row['role_name']] : $role_row['role_name'];


					{
$role_name = (!empty($user->lang[$role_row['role_name']])) ? $user->lang[$role_row['role_name']] : $role_row['role_name'];


Line 496Line 496

$content_array = $content_array[0];



$content_array = $content_array[0];


		$template->assign_var('S_NUM_PERM_COLS', sizeof($categories));

		$template->assign_var('S_NUM_PERM_COLS', count($categories));


// Assign to template
foreach ($content_array as $cat => $cat_array)


// Assign to template
foreach ($content_array as $cat => $cat_array)