Vergleich report.php - 1.8.22 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 67Zeile 67
		// Check for a valid forum
$forum = get_forum($post['fid']);


		// Check for a valid forum
$forum = get_forum($post['fid']);


		if(!isset($forum['fid']))

		if(!$forum)

		{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}

		{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}

Zeile 77Zeile 77
			$button = '#post_'.$id.' .postbit_report';
}


			$button = '#post_'.$id.' .postbit_report';
}


		// Password protected forums ......... yhummmmy!

 
		$id3 = $forum['fid'];

		$id3 = $forum['fid'];

		check_forum_password($forum['parentlist']);




// Password protected forums ......... yhummmmy!
check_forum_password($forum['fid']);

	}
}
else if($report_type == 'profile')
{
$user = get_user($mybb->get_input('pid', MyBB::INPUT_INT));


	}
}
else if($report_type == 'profile')
{
$user = get_user($mybb->get_input('pid', MyBB::INPUT_INT));


	if(!isset($user['uid']))

	if(!$user)

	{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}

	{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}

Zeile 192Zeile 193
			$reason = $db->fetch_array($query);

$new_report['reasonid'] = $reason['rid'];

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

$new_report['reasonid'] = $reason['rid'];

 
			$new_report['reason'] = '';


if($reason['extra'])
{


if($reason['extra'])
{

Zeile 273Zeile 275
		}
}


		}
}


	if($mybb->input['no_modal'])

	if($mybb->get_input('no_modal'))

	{
echo $report_reasons;
exit;

	{
echo $report_reasons;
exit;