Vergleich admin/modules/forum/management.php - 1.8.27 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 788Zeile 788
		$fields_array = $db->show_fields_from("forumpermissions");
foreach($fields_array as $field)
{

		$fields_array = $db->show_fields_from("forumpermissions");
foreach($fields_array as $field)
{

			if(!in_array($field['field'], $hidefields) && (strpos($field['Field'], 'can') !== false || strpos($field['Field'], 'mod') !== false))

			if(!in_array($field['Field'], $hidefields) && (strpos($field['Field'], 'can') !== false || strpos($field['Field'], 'mod') !== false))

			{
if(array_key_exists($field['Field'], $groups))
{

			{
if(array_key_exists($field['Field'], $groups))
{

Zeile 1199Zeile 1199
	foreach($usergroups as $usergroup)
{
$perms = array();

	foreach($usergroups as $usergroup)
{
$perms = array();

		if(isset($mybb->input['default_permissions']) && $mybb->input['default_permissions'][$usergroup['gid']])

		if(!empty($mybb->input['default_permissions'][$usergroup['gid']]))

		{
if(isset($existing_permissions) && is_array($existing_permissions) && $existing_permissions[$usergroup['gid']])
{

		{
if(isset($existing_permissions) && is_array($existing_permissions) && $existing_permissions[$usergroup['gid']])
{

Zeile 1228Zeile 1228
		{
if(isset($mybb->input['permissions']))
{

		{
if(isset($mybb->input['permissions']))
{

				if($mybb->input['default_permissions'][$usergroup['gid']])

				if(!empty($mybb->input['default_permissions'][$usergroup['gid']]))

				{
$default_checked = true;
}

				{
$default_checked = true;
}