Vergleich admin/modules/forum/management.php - 1.8.28 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
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;
}

Zeile 1922Zeile 1922
	$mod = $db->fetch_array($query);

// Does the forum not exist?

	$mod = $db->fetch_array($query);

// Does the forum not exist?

	if(!$mod['mid'])

	if(!$mod)

	{
flash_message($lang->error_invalid_moderator, 'error');
admin_redirect("index.php?module=forum-management&fid={$fid}");

	{
flash_message($lang->error_invalid_moderator, 'error');
admin_redirect("index.php?module=forum-management&fid={$fid}");

Zeile 1992Zeile 1992
	$forum = $db->fetch_array($query);

// Does the forum not exist?

	$forum = $db->fetch_array($query);

// Does the forum not exist?

	if(!$forum['fid'])

	if(!$forum)

	{
flash_message($lang->error_invalid_forum, 'error');
admin_redirect("index.php?module=forum-management");

	{
flash_message($lang->error_invalid_forum, 'error');
admin_redirect("index.php?module=forum-management");