phpBB

Code Changes

File: includes/acp/acp_permissions.php

  Unmodified   Added   Modified   Removed
Line 44Line 44
			include($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
}


			include($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
}


		$this->permissions = $phpbb_container->get('acl.permissions');

$auth_admin = new auth_admin();

		$auth_admin = new auth_admin();




$user->add_lang('acp/permissions');
add_permission_language();

$this->tpl_name = 'acp_permissions';


$user->add_lang('acp/permissions');
add_permission_language();

$this->tpl_name = 'acp_permissions';

 

$this->permissions = $phpbb_container->get('acl.permissions');


// Trace has other vars
if ($mode == 'trace')


// Trace has other vars
if ($mode == 'trace')

Line 694Line 694
		}

// We loop through the auth settings defined in our submit

		}

// We loop through the auth settings defined in our submit

		list($ug_id, ) = each($psubmit);
list($forum_id, ) = each($psubmit[$ug_id]);

		$ug_id = key($psubmit);
$forum_id = key($psubmit[$ug_id]);


$settings = $request->variable('setting', array(0 => array(0 => array('' => 0))), false, \phpbb\request\request_interface::POST);
if (empty($settings) || empty($settings[$ug_id]) || empty($settings[$ug_id][$forum_id]))


$settings = $request->variable('setting', array(0 => array(0 => array('' => 0))), false, \phpbb\request\request_interface::POST);
if (empty($settings) || empty($settings[$ug_id]) || empty($settings[$ug_id][$forum_id]))